fixed reading of argument for short option 'f' that I broke a while back

This commit is contained in:
Frank Mori Hess 2003-04-25 20:43:23 +00:00
parent 0710248b23
commit e0b7dadca7

View 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: