diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-20 11:25:50 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-20 11:25:50 +0100 |
commit | c8f6c1d7750156b1d7daf0dc37aa2b60626fc0c1 (patch) | |
tree | 86deab21aef396fbbc099a8e15f78990b74f3136 /networking | |
parent | bc2c1b4f869d3e3b90c187ebb07b3c23c14ca880 (diff) | |
download | busybox-c8f6c1d7750156b1d7daf0dc37aa2b60626fc0c1.tar.gz |
ping6: add -w/-W NUM to --help
function old new delta
packed_usage 33515 33533 +18
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ping.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/networking/ping.c b/networking/ping.c index ea4fa364b..c4a15e06e 100644 --- a/networking/ping.c +++ b/networking/ping.c @@ -81,9 +81,8 @@ //usage: "\n (after all -c CNT packets are sent)" //usage: "\n -w SEC Seconds until ping exits (default:infinite)" //usage: "\n (can exit earlier with -c CNT)" -//usage: "\n -q Quiet, only display output at start" -//usage: "\n and when finished" -//usage: "\n -p HEXBYTE Pattern to use for payload" +//usage: "\n -q Quiet, only display output at start/finish" +//usage: "\n -p HEXBYTE Payload pattern" //usage: //usage:# define ping6_trivial_usage //usage: "[OPTIONS] HOST" @@ -93,10 +92,15 @@ //usage: "\n -s SIZE Send SIZE data bytes in packets (default 56)" //usage: "\n -i SECS Interval" //usage: "\n -A Ping as soon as reply is recevied" +///////: "\n -t TTL Set TTL" +///////^^^^^ -t not tested for IPv6, might be not working //usage: "\n -I IFACE/IP Source interface or IP address" -//usage: "\n -q Quiet, only display output at start" -//usage: "\n and when finished" -//usage: "\n -p HEXBYTE Pattern to use for payload" +//usage: "\n -W SEC Seconds to wait for the first response (default 10)" +//usage: "\n (after all -c CNT packets are sent)" +//usage: "\n -w SEC Seconds until ping exits (default:infinite)" +//usage: "\n (can exit earlier with -c CNT)" +//usage: "\n -q Quiet, only display output at start/finish" +//usage: "\n -p HEXBYTE Payload pattern" //usage: //usage:#endif //usage: |