]> thyrsus.com Git - intercal.git/commitdiff
Correct parsing of regresscheck options.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 27 Aug 2010 15:18:25 +0000 (11:18 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 27 Aug 2010 15:18:25 +0000 (11:18 -0400)
pit/regresscheck

index e3249570c96d8b70e18e6885287378de5cade23e..2b4d06712facbda16def271652fe315fddd98f43 100755 (executable)
@@ -19,7 +19,7 @@
 # This pattern doesn't handle well the case where one program has multiple
 # tests, so options are provided to override the test file name 
 
-while getopts cp opt
+while getopts c:p: opt
 do
     case $opt in
        c) checkfile=$OPTARG ;; # Override the location of the checkfile