diff options
author | Denis Vlasenko | 2007-02-09 17:32:16 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-02-09 17:32:16 +0000 |
commit | 9ca26d38c513c918cf88db8fef057b7ae5c133f0 (patch) | |
tree | 59a8c81de0d3631aca6303adc506363e2807f270 /include/usage.h | |
parent | d244c5eaf80677bc785ada68d4bb805cdf2d4505 (diff) | |
download | busybox-9ca26d38c513c918cf88db8fef057b7ae5c133f0.zip busybox-9ca26d38c513c918cf88db8fef057b7ae5c133f0.tar.gz |
ping: support -I addr in family neutral manner; reuse a bit of common code
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/include/usage.h b/include/usage.h index 17dcf9b..fb1617a 100644 --- a/include/usage.h +++ b/include/usage.h @@ -2428,20 +2428,22 @@ #define ping_full_usage \ "Send ICMP ECHO_REQUEST packets to network hosts" \ "\n\nOptions:\n" \ - " -c CNT Send only CNT pings\n" \ - " -s SIZE Send SIZE data bytes in packets (default=56)\n" \ - " -I IP Use IP as source address\n" \ - " -q Quiet mode, only displays output at start\n" \ - " and when finished" + " -4, -6 Force IPv4 or IPv6 hostname resolution\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" \ + " -q Quiet mode, only displays output at start\n" \ + " and when finished" #define ping6_trivial_usage \ "[OPTION]... host" #define ping6_full_usage \ "Send ICMP ECHO_REQUEST packets to network hosts" \ "\n\nOptions:\n" \ - " -c CNT Send only CNT pings\n" \ - " -s SIZE Send SIZE data bytes in packets (default=56)\n" \ - " -q Quiet mode, only displays output at start\n" \ - " and when finished" + " -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" \ + " -q Quiet mode, only displays output at start\n" \ + " and when finished" #endif #define ping_example_usage \ "$ ping localhost\n" \ |