Got rid of the -d/--debug flag, it was not being used for anything.
This commit is contained in:
parent
cc2376c1e3
commit
66ee0e2084
@ -144,7 +144,6 @@ struct iperf_test
|
|||||||
|
|
||||||
/* boolean variables for Options */
|
/* boolean variables for Options */
|
||||||
int daemon; /* -D option */
|
int daemon; /* -D option */
|
||||||
int debug; /* -d option - debug mode */
|
|
||||||
int no_delay; /* -N option */
|
int no_delay; /* -N option */
|
||||||
int reverse; /* -R option */
|
int reverse; /* -R option */
|
||||||
int verbose; /* -V option - verbose mode */
|
int verbose; /* -V option - verbose mode */
|
||||||
|
@ -34,9 +34,6 @@ give more detailed output
|
|||||||
.BR -J ", " --json " "
|
.BR -J ", " --json " "
|
||||||
output in JSON format
|
output in JSON format
|
||||||
.TP
|
.TP
|
||||||
.BR -d ", " --debug " "
|
|
||||||
debug mode
|
|
||||||
.TP
|
|
||||||
.BR -v ", " --version " "
|
.BR -v ", " --version " "
|
||||||
show version information and quit
|
show version information and quit
|
||||||
.TP
|
.TP
|
||||||
|
@ -486,7 +486,6 @@ iperf_parse_arguments(struct iperf_test *test, int argc, char **argv)
|
|||||||
{"daemon", no_argument, NULL, 'D'},
|
{"daemon", no_argument, NULL, 'D'},
|
||||||
{"verbose", no_argument, NULL, 'V'},
|
{"verbose", no_argument, NULL, 'V'},
|
||||||
{"json", no_argument, NULL, 'J'},
|
{"json", no_argument, NULL, 'J'},
|
||||||
{"debug", no_argument, NULL, 'd'},
|
|
||||||
{"version", no_argument, NULL, 'v'},
|
{"version", no_argument, NULL, 'v'},
|
||||||
{"server", no_argument, NULL, 's'},
|
{"server", no_argument, NULL, 's'},
|
||||||
{"client", required_argument, NULL, 'c'},
|
{"client", required_argument, NULL, 'c'},
|
||||||
@ -551,9 +550,6 @@ iperf_parse_arguments(struct iperf_test *test, int argc, char **argv)
|
|||||||
case 'J':
|
case 'J':
|
||||||
test->json_output = 1;
|
test->json_output = 1;
|
||||||
break;
|
break;
|
||||||
case 'd':
|
|
||||||
test->debug = 1;
|
|
||||||
break;
|
|
||||||
case 'v':
|
case 'v':
|
||||||
printf("%s\n", version);
|
printf("%s\n", version);
|
||||||
system("uname -a");
|
system("uname -a");
|
||||||
|
@ -74,7 +74,6 @@ const char usage_longstr[] = "Usage: iperf [-s|-c host] [options]\n"
|
|||||||
" -i, --interval # seconds between periodic bandwidth reports\n"
|
" -i, --interval # seconds between periodic bandwidth reports\n"
|
||||||
" -V, --verbose more detailed output\n"
|
" -V, --verbose more detailed output\n"
|
||||||
" -J, --json output in JSON format\n"
|
" -J, --json output in JSON format\n"
|
||||||
" -d, --debug debug mode\n"
|
|
||||||
" -v, --version show version information and quit\n"
|
" -v, --version show version information and quit\n"
|
||||||
" -h, --help show this message and quit\n"
|
" -h, --help show this message and quit\n"
|
||||||
"Server specific:\n"
|
"Server specific:\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user