Skip to content

Commit

Permalink
Change help to make current -n/-k behavior a feature - end test at th…
Browse files Browse the repository at this point in the history
…e end of the interval
  • Loading branch information
davidBar-On committed Nov 21, 2024
1 parent 2575ae8 commit f40478d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/iperf_locale.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,10 @@ const char usage_longstr[] = "Usage: iperf3 [-s|-c host] [options]\n"
" bits/sec (Linux only)\n"
#endif
" -t, --time # time in seconds to transmit for (default %d secs)\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"
" -n, --bytes #[KMG] transmit until the end of the interval when at leaset\n"
" this number of bytes were sent (instead of -t or -k)\n"
" -k, --blockcount #[KMG] transmit until the end of the interval when at leaset\n"
" this number of blocks were sent (instead of -t or -n)\n"
" -l, --length #[KMG] length of buffer to read or write\n"
" (default %d KB for TCP, dynamic or %d for UDP)\n"
" --cport <port> bind to a specific client port (TCP and UDP, default: ephemeral port)\n"
Expand Down

0 comments on commit f40478d

Please sign in to comment.