aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-12-20 11:25:50 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-12-20 11:25:50 +0100
commitc8f6c1d7750156b1d7daf0dc37aa2b60626fc0c1 (patch)
tree86deab21aef396fbbc099a8e15f78990b74f3136
parentbc2c1b4f869d3e3b90c187ebb07b3c23c14ca880 (diff)
downloadbusybox-w32-c8f6c1d7750156b1d7daf0dc37aa2b60626fc0c1.tar.gz
busybox-w32-c8f6c1d7750156b1d7daf0dc37aa2b60626fc0c1.tar.bz2
busybox-w32-c8f6c1d7750156b1d7daf0dc37aa2b60626fc0c1.zip
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>
-rw-r--r--networking/ping.c16
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 @@
81//usage: "\n (after all -c CNT packets are sent)" 81//usage: "\n (after all -c CNT packets are sent)"
82//usage: "\n -w SEC Seconds until ping exits (default:infinite)" 82//usage: "\n -w SEC Seconds until ping exits (default:infinite)"
83//usage: "\n (can exit earlier with -c CNT)" 83//usage: "\n (can exit earlier with -c CNT)"
84//usage: "\n -q Quiet, only display output at start" 84//usage: "\n -q Quiet, only display output at start/finish"
85//usage: "\n and when finished" 85//usage: "\n -p HEXBYTE Payload pattern"
86//usage: "\n -p HEXBYTE Pattern to use for payload"
87//usage: 86//usage:
88//usage:# define ping6_trivial_usage 87//usage:# define ping6_trivial_usage
89//usage: "[OPTIONS] HOST" 88//usage: "[OPTIONS] HOST"
@@ -93,10 +92,15 @@
93//usage: "\n -s SIZE Send SIZE data bytes in packets (default 56)" 92//usage: "\n -s SIZE Send SIZE data bytes in packets (default 56)"
94//usage: "\n -i SECS Interval" 93//usage: "\n -i SECS Interval"
95//usage: "\n -A Ping as soon as reply is recevied" 94//usage: "\n -A Ping as soon as reply is recevied"
95///////: "\n -t TTL Set TTL"
96///////^^^^^ -t not tested for IPv6, might be not working
96//usage: "\n -I IFACE/IP Source interface or IP address" 97//usage: "\n -I IFACE/IP Source interface or IP address"
97//usage: "\n -q Quiet, only display output at start" 98//usage: "\n -W SEC Seconds to wait for the first response (default 10)"
98//usage: "\n and when finished" 99//usage: "\n (after all -c CNT packets are sent)"
99//usage: "\n -p HEXBYTE Pattern to use for payload" 100//usage: "\n -w SEC Seconds until ping exits (default:infinite)"
101//usage: "\n (can exit earlier with -c CNT)"
102//usage: "\n -q Quiet, only display output at start/finish"
103//usage: "\n -p HEXBYTE Payload pattern"
100//usage: 104//usage:
101//usage:#endif 105//usage:#endif
102//usage: 106//usage: