From: Frank Mori Hess Date: Fri, 25 Apr 2003 20:43:23 +0000 (+0000) Subject: fixed reading of argument for short option 'f' that I broke a while back X-Git-Tag: r0_7_21~215 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e0b7dadca798fe0c287e96e07a934032215f9698;p=comedilib.git fixed reading of argument for short option 'f' that I broke a while back --- diff --git a/comedi_calibrate/comedi_calibrate.c b/comedi_calibrate/comedi_calibrate.c index 469365c..91c6700 100644 --- a/comedi_calibrate/comedi_calibrate.c +++ b/comedi_calibrate/comedi_calibrate.c @@ -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: