mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-22 23:22:25 +02:00
cntr/cntr.c: option -v (report data corruption) was never implemented, oops.
This commit is contained in:
parent
9361f14875
commit
a8d74345b0
@ -358,7 +358,7 @@ int main(int argc, char *const *argv)
|
||||
double error_goal = 0;
|
||||
char *end;
|
||||
|
||||
while ((c = getopt(argc, argv, "bc:dir")) != EOF)
|
||||
while ((c = getopt(argc, argv, "bc:dirv")) != EOF)
|
||||
switch (c) {
|
||||
case 'b':
|
||||
burst = 1;
|
||||
@ -377,6 +377,9 @@ int main(int argc, char *const *argv)
|
||||
case 'r':
|
||||
reset = 1;
|
||||
break;
|
||||
case 'v':
|
||||
verbose = 1;
|
||||
break;
|
||||
default:
|
||||
usage(*argv);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user