1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-26 01:57:32 +02:00

cntr/cntr.c: option -v (report data corruption) was never implemented, oops.

This commit is contained in:
Werner Almesberger 2010-11-05 13:37:34 -03:00
parent 9361f14875
commit a8d74345b0

View File

@ -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);
} }