Got rid of the -d/--debug flag, it was not being used for anything.

This commit is contained in:
Jef Poskanzer 2013-09-14 08:36:11 -07:00
parent cc2376c1e3
commit 66ee0e2084
4 changed files with 0 additions and 9 deletions

View File

@ -144,7 +144,6 @@ struct iperf_test
/* boolean variables for Options */
int daemon; /* -D option */
int debug; /* -d option - debug mode */
int no_delay; /* -N option */
int reverse; /* -R option */
int verbose; /* -V option - verbose mode */

View File

@ -34,9 +34,6 @@ give more detailed output
.BR -J ", " --json " "
output in JSON format
.TP
.BR -d ", " --debug " "
debug mode
.TP
.BR -v ", " --version " "
show version information and quit
.TP

View File

@ -486,7 +486,6 @@ iperf_parse_arguments(struct iperf_test *test, int argc, char **argv)
{"daemon", no_argument, NULL, 'D'},
{"verbose", no_argument, NULL, 'V'},
{"json", no_argument, NULL, 'J'},
{"debug", no_argument, NULL, 'd'},
{"version", no_argument, NULL, 'v'},
{"server", no_argument, NULL, 's'},
{"client", required_argument, NULL, 'c'},
@ -551,9 +550,6 @@ iperf_parse_arguments(struct iperf_test *test, int argc, char **argv)
case 'J':
test->json_output = 1;
break;
case 'd':
test->debug = 1;
break;
case 'v':
printf("%s\n", version);
system("uname -a");

View File

@ -74,7 +74,6 @@ const char usage_longstr[] = "Usage: iperf [-s|-c host] [options]\n"
" -i, --interval # seconds between periodic bandwidth reports\n"
" -V, --verbose more detailed output\n"
" -J, --json output in JSON format\n"
" -d, --debug debug mode\n"
" -v, --version show version information and quit\n"
" -h, --help show this message and quit\n"
"Server specific:\n"