diff --git a/src/iperf.h b/src/iperf.h index 9634f62..a80b6b9 100644 --- a/src/iperf.h +++ b/src/iperf.h @@ -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 */ diff --git a/src/iperf3.1 b/src/iperf3.1 index e77eca0..e99ac57 100644 --- a/src/iperf3.1 +++ b/src/iperf3.1 @@ -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 diff --git a/src/iperf_api.c b/src/iperf_api.c index c011e29..9779e6f 100644 --- a/src/iperf_api.c +++ b/src/iperf_api.c @@ -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"); diff --git a/src/locale.c b/src/locale.c index 6093d36..f0df93f 100644 --- a/src/locale.c +++ b/src/locale.c @@ -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"