From c8f6c1d7750156b1d7daf0dc37aa2b60626fc0c1 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 20 Dec 2020 11:25:50 +0100 Subject: ping6: add -w/-W NUM to --help function old new delta packed_usage 33515 33533 +18 Signed-off-by: Denys Vlasenko --- networking/ping.c | 16 ++++++++++------ 1 file 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: -- cgit v1.2.3