fixed reading of argument for short option 'f' that I broke a while back
authorFrank Mori Hess <fmhess@speakeasy.net>
Fri, 25 Apr 2003 20:43:23 +0000 (20:43 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Fri, 25 Apr 2003 20:43:23 +0000 (20:43 +0000)
comedi_calibrate/comedi_calibrate.c

index 469365c766d4cafdccb666629181273fd6e9e3e0..91c670066bae40ca9846a1d1d29e9cb615fff196 100644 (file)
@@ -135,7 +135,7 @@ int main(int argc, char *argv[])
 
        fn = "/dev/comedi0";
        while (1) {
-               c = getopt_long(argc, argv, "fs:vq", options, &index);
+               c = getopt_long(argc, argv, "f:s:vq", options, &index);
                if (c == -1)break;
                switch (c) {
                case 0: