fixed reading of argument for short option 'f' that I broke a while back
This commit is contained in:
parent
0710248b23
commit
e0b7dadca7
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue