aboutsummaryrefslogtreecommitdiff
path: root/src/iperf_locale.c
diff options
context:
space:
mode:
authorBruce A. Mah <bmah@kitchenlab.org>2017-05-08 10:01:15 -0700
committerGitHub <noreply@github.com>2017-05-08 10:01:15 -0700
commit37d913dfcccc3097cab792afeba1122eef88cb2c (patch)
treee90c676b9d52e6725d848b6cd027eeade209537a /src/iperf_locale.c
parent67653543ad750acbd816d7473a56f721bb811383 (diff)
downloadiperf3-37d913dfcccc3097cab792afeba1122eef88cb2c.tar.gz
Improve error handling and documentation for -f/--format. (#568)
We now reject all invalid format characters given as the argument to the -f/--format flag. All valid characters are now documented in the usage message and manual page. Towards #566.
Diffstat (limited to 'src/iperf_locale.c')
-rw-r--r--src/iperf_locale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iperf_locale.c b/src/iperf_locale.c
index 07f6000..d90a6df 100644
--- a/src/iperf_locale.c
+++ b/src/iperf_locale.c
@@ -98,7 +98,7 @@ const char usage_longstr[] = "Usage: iperf3 [-s|-c host] [options]\n"
" iperf3 [-h|--help] [-v|--version]\n\n"
"Server or Client:\n"
" -p, --port # server port to listen on/connect to\n"
- " -f, --format [kmgKMG] format to report: Kbits, Mbits, KBytes, MBytes\n"
+ " -f, --format [kmgtKMGT] format to report: Kbits, Mbits, Gbits, Tbits\n"
" -i, --interval # seconds between periodic bandwidth reports\n"
" -F, --file name xmit/recv the specified file\n"
#if defined(HAVE_CPU_AFFINITY)