aboutsummaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-03-10 07:42:38 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-03-10 07:42:38 +0000
commit7d0c51919ce4d0be00fd8ae92d6f16b86aad9fd2 (patch)
treed19379419a02c8f77fc864db6b08450f016264dc /include/usage.h
parent2715fa147a36662b59b58b78ff31e225e785fef9 (diff)
downloadbusybox-w32-7d0c51919ce4d0be00fd8ae92d6f16b86aad9fd2.tar.gz
busybox-w32-7d0c51919ce4d0be00fd8ae92d6f16b86aad9fd2.tar.bz2
busybox-w32-7d0c51919ce4d0be00fd8ae92d6f16b86aad9fd2.zip
In spite of the feature freeze, check in a complete rework of route which
fixes some bugs, adds some error checking, and removes _lots_ of bloat. Text size on i386... old new ipv6 5425 3523 no ipv6 3143 2193
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/usage.h b/include/usage.h
index 9390e3415..37f88410f 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2039,13 +2039,21 @@
2039#define rmmod_example_usage \ 2039#define rmmod_example_usage \
2040 "$ rmmod tulip\n" 2040 "$ rmmod tulip\n"
2041 2041
2042#ifdef CONFIG_FEATURE_IPV6
2043 #define USAGE_ROUTE_IPV6(a) a
2044#else
2045 #define USAGE_ROUTE_IPV6(a) "\t"
2046#endif
2047
2048
2042#define route_trivial_usage \ 2049#define route_trivial_usage \
2043 "[{add|del|flush}]" 2050 "[{add|del|delete}]"
2044#define route_full_usage \ 2051#define route_full_usage \
2045 "Edit the kernel's routing tables.\n\n" \ 2052 "Edit the kernel's routing tables.\n\n" \
2046 "Options:\n" \ 2053 "Options:\n" \
2047 "\t-n\tDont resolve names.\n" \ 2054 "\t-n\t\tDont resolve names.\n" \
2048 "\t-e\tDisplay other/more information" 2055 "\t-e\t\tDisplay other/more information.\n" \
2056 "\t-A inet" USAGE_ROUTE_IPV6("{6}") "\tSelect address family."
2049 2057
2050#define rpm_trivial_usage \ 2058#define rpm_trivial_usage \
2051 "-i -q[ildc]p package.rpm" 2059 "-i -q[ildc]p package.rpm"