mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-22 17:21:52 +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;
|
double error_goal = 0;
|
||||||
char *end;
|
char *end;
|
||||||
|
|
||||||
while ((c = getopt(argc, argv, "bc:dir")) != EOF)
|
while ((c = getopt(argc, argv, "bc:dirv")) != EOF)
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 'b':
|
case 'b':
|
||||||
burst = 1;
|
burst = 1;
|
||||||
@ -377,6 +377,9 @@ int main(int argc, char *const *argv)
|
|||||||
case 'r':
|
case 'r':
|
||||||
reset = 1;
|
reset = 1;
|
||||||
break;
|
break;
|
||||||
|
case 'v':
|
||||||
|
verbose = 1;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
usage(*argv);
|
usage(*argv);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user