aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-23 06:34:04 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-23 06:34:04 +0100
commit74f8e7810bbe61bdeffd1dea6adb08426f479705 (patch)
tree385a9899903a8752af51c4b5d12e8ee52f817621
parent4c06531d5e2b053b642cea6fc4e7bc91ea4cbd26 (diff)
downloadbusybox-w32-74f8e7810bbe61bdeffd1dea6adb08426f479705.tar.gz
busybox-w32-74f8e7810bbe61bdeffd1dea6adb08426f479705.tar.bz2
busybox-w32-74f8e7810bbe61bdeffd1dea6adb08426f479705.zip
traceroute: fix help text to not show -6 when traceroute6 is off
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--include/usage.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/include/usage.h b/include/usage.h
index 920f8e8c9..48cb8df7d 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3346,7 +3346,7 @@
3346#define ping_full_usage "\n\n" \ 3346#define ping_full_usage "\n\n" \
3347 "Send ICMP ECHO_REQUEST packets to network hosts\n" \ 3347 "Send ICMP ECHO_REQUEST packets to network hosts\n" \
3348 "\nOptions:" \ 3348 "\nOptions:" \
3349 "\n -4, -6 Force IPv4 or IPv6 hostname resolution" \ 3349 "\n -4, -6 Force IP or IPv6 name resolution" \
3350 "\n -c CNT Send only CNT pings" \ 3350 "\n -c CNT Send only CNT pings" \
3351 "\n -s SIZE Send SIZE data bytes in packets (default:56)" \ 3351 "\n -s SIZE Send SIZE data bytes in packets (default:56)" \
3352 "\n -I IFACE/IP Use interface or IP address as source" \ 3352 "\n -I IFACE/IP Use interface or IP address as source" \
@@ -4648,49 +4648,49 @@
4648 "hello world\n" 4648 "hello world\n"
4649 4649
4650#define traceroute_trivial_usage \ 4650#define traceroute_trivial_usage \
4651 "[-46FIldnrv] [-f 1st_ttl] [-m max_ttl] [-p port#] [-q nqueries]\n" \ 4651 "[-"IF_TRACEROUTE6("46")"FIldnrv] [-f 1ST_TTL] [-m MAXTTL] [-p PORT] [-q PROBES]\n" \
4652 " [-s src_addr] [-t tos] [-w wait] [-g gateway] [-i iface]\n" \ 4652 " [-s SRC_IP] [-t TOS] [-w WAIT_SEC] [-g GATEWAY] [-i IFACE]\n" \
4653 " [-z pausemsecs] HOST [data size]" 4653 " [-z PAUSE_MSEC] HOST [BYTES]"
4654#define traceroute_full_usage "\n\n" \ 4654#define traceroute_full_usage "\n\n" \
4655 "Trace the route to HOST\n" \ 4655 "Trace the route to HOST\n" \
4656 "\nOptions:" \ 4656 "\nOptions:" \
4657 "\n -4, -6 Force IPv4 or IPv6 hostname resolution" \ 4657 IF_TRACEROUTE6( \
4658 "\n -4, -6 Force IP or IPv6 name resolution" \
4659 ) \
4658 "\n -F Set the don't fragment bit" \ 4660 "\n -F Set the don't fragment bit" \
4659 "\n -I Use ICMP ECHO instead of UDP datagrams" \ 4661 "\n -I Use ICMP ECHO instead of UDP datagrams" \
4660 "\n -l Display the ttl value of the returned packet" \ 4662 "\n -l Display the ttl value of the returned packet" \
4661 "\n -d Set SO_DEBUG options to socket" \ 4663 "\n -d Set SO_DEBUG options to socket" \
4662 "\n -n Print numeric addresses" \ 4664 "\n -n Print numeric addresses" \
4663 "\n -r Bypass the normal routing tables and send directly to a host" \ 4665 "\n -r Bypass routing tables, send directly to HOST" \
4664 "\n -v Verbose" \ 4666 "\n -v Verbose" \
4665 "\n -m max_ttl Max time-to-live (max number of hops)" \ 4667 "\n -m Max time-to-live (max number of hops)" \
4666 "\n -p port# Base UDP port number used in probes" \ 4668 "\n -p Base UDP port number used in probes" \
4667 "\n (default 33434)" \ 4669 "\n (default 33434)" \
4668 "\n -q nqueries Number of probes per 'ttl' (default 3)" \ 4670 "\n -q Number of probes per 'ttl' (default 3)" \
4669 "\n -s src_addr IP address to use as the source address" \ 4671 "\n -s IP address to use as the source address" \
4670 "\n -t tos Type-of-service in probe packets (default 0)" \ 4672 "\n -t Type-of-service in probe packets (default 0)" \
4671 "\n -w wait Time in seconds to wait for a response" \ 4673 "\n -w Time in seconds to wait for a response (default 3)" \
4672 "\n (default 3)" \ 4674 "\n -g Loose source route gateway (8 max)" \
4673 "\n -g Loose source route gateway (8 max)" \
4674 4675
4675#define traceroute6_trivial_usage \ 4676#define traceroute6_trivial_usage \
4676 "[-dnrv] [-m max_ttl] [-p port#] [-q nqueries]\n" \ 4677 "[-dnrv] [-m MAXTTL] [-p PORT] [-q PROBES]\n" \
4677 " [-s src_addr] [-t tos] [-w wait] [-i iface]\n" \ 4678 " [-s SRC_IP] [-t TOS] [-w WAIT_SEC] [-i IFACE]\n" \
4678 " HOST [data size]" 4679 " HOST [BYTES]"
4679#define traceroute6_full_usage "\n\n" \ 4680#define traceroute6_full_usage "\n\n" \
4680 "Trace the route to HOST\n" \ 4681 "Trace the route to HOST\n" \
4681 "\nOptions:" \ 4682 "\nOptions:" \
4682 "\n -d Set SO_DEBUG options to socket" \ 4683 "\n -d Set SO_DEBUG options to socket" \
4683 "\n -n Print numeric addresses" \ 4684 "\n -n Print numeric addresses" \
4684 "\n -r Bypass the normal routing tables and send directly to a host" \ 4685 "\n -r Bypass routing tables, send directly to HOST" \
4685 "\n -v Verbose" \ 4686 "\n -v Verbose" \
4686 "\n -m max_ttl Max time-to-live (max number of hops)" \ 4687 "\n -m Max time-to-live (max number of hops)" \
4687 "\n -p port# Base UDP port number used in probes" \ 4688 "\n -p Base UDP port number used in probes" \
4688 "\n (default is 33434)" \ 4689 "\n (default is 33434)" \
4689 "\n -q nqueries Number of probes per 'ttl' (default 3)" \ 4690 "\n -q Number of probes per 'ttl' (default 3)" \
4690 "\n -s src_addr IP address to use as the source address" \ 4691 "\n -s IP address to use as the source address" \
4691 "\n -t tos Type-of-service in probe packets (default 0)" \ 4692 "\n -t Type-of-service in probe packets (default 0)" \
4692 "\n -w wait Time in seconds to wait for a response" \ 4693 "\n -w Time in seconds to wait for a response (default 3)" \
4693 "\n (default 3)" \
4694 4694
4695#define true_trivial_usage \ 4695#define true_trivial_usage \
4696 "" 4696 ""