From 90c31b3d4b58512ec2e1ed00670668dd52236415 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 7 Apr 2008 00:46:29 +0000 Subject: ping: add -w, -W support (James Simmons ) 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 --- include/usage.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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" \ -- cgit v1.2.3