diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-07 00:46:29 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-07 00:46:29 +0000 |
commit | 90c31b3d4b58512ec2e1ed00670668dd52236415 (patch) | |
tree | 99f428830311a06751f258784573bb0262d43f11 /include | |
parent | 278a1c22645263f1a82bb3437345e3d96c3f13eb (diff) | |
download | busybox-90c31b3d4b58512ec2e1ed00670668dd52236415.tar.gz |
ping: add -w, -W support (James Simmons <jsimmons AT infradead.org>)
function old new delta
print_stats_and_exit - 282 +282
sendping_tail 151 231 +80
packed_usage 23976 24054 +78
ping_main 401 412 +11
arm_ioctl 13 20 +7
pingstats 259 - -259
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 4/0 up/down: 458/-259) Total: 199 bytes
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index e007acdfa..142d7c21b 100644 --- a/include/usage.h +++ b/include/usage.h @@ -2935,6 +2935,10 @@ "\n -c CNT Send only CNT pings" \ "\n -s SIZE Send SIZE data bytes in packets (default=56)" \ "\n -I iface/IP Use interface or IP address as source" \ + "\n -W timeout Seconds to wait for the first response (default:10)" \ + "\n (after all -c CNT packets are sent)" \ + "\n -w deadline Seconds until ping exits (default:infinite)" \ + "\n (can exit earlier with -c CNT)" \ "\n -q Quiet, only displays output at start" \ "\n and when finished" \ |