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-7d0c51919ce4d0be00fd8ae92d6f16b86aad9fd2.tar.gz
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 @@
#define rmmod_example_usage \
"$ rmmod tulip\n"
+#ifdef CONFIG_FEATURE_IPV6
+ #define USAGE_ROUTE_IPV6(a) a
+#else
+ #define USAGE_ROUTE_IPV6(a) "\t"
+#endif
+
+
#define route_trivial_usage \
- "[{add|del|flush}]"
+ "[{add|del|delete}]"
#define route_full_usage \
"Edit the kernel's routing tables.\n\n" \
"Options:\n" \
- "\t-n\tDont resolve names.\n" \
- "\t-e\tDisplay other/more information"
+ "\t-n\t\tDont resolve names.\n" \
+ "\t-e\t\tDisplay other/more information.\n" \
+ "\t-A inet" USAGE_ROUTE_IPV6("{6}") "\tSelect address family."
#define rpm_trivial_usage \
"-i -q[ildc]p package.rpm"