Fix incorrect help text; "--num" should be "--bytes".

Fixes issue #192.
This commit is contained in:
Bruce A. Mah 2014-07-10 09:49:31 -07:00
parent 4fe55f3667
commit fa0e81c853
No known key found for this signature in database
GPG Key ID: 4984910A8CAAEE8A

View File

@ -103,7 +103,7 @@ const char usage_longstr[] = "Usage: iperf [-s|-c host] [options]\n"
" (default %d Mbit/sec for UDP, unlimited for TCP)\n"
" (optional slash and packet count for burst mode)\n"
" -t, --time # time in seconds to transmit for (default %d secs)\n"
" -n, --num #[KMG] number of bytes to transmit (instead of -t)\n"
" -n, --bytes #[KMG] number of bytes to transmit (instead of -t)\n"
" -k, --blockcount #[KMG] number of blocks (packets) to transmit (instead of -t or -n)\n"
" -l, --len #[KMG] length of buffer to read or write\n"
" (default %d KB for TCP, %d KB for UDP)\n"