From 7d0c51919ce4d0be00fd8ae92d6f16b86aad9fd2 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Wed, 10 Mar 2004 07:42:38 +0000 Subject: 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 --- include/usage.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'include/usage.h') diff --git a/include/usage.h b/include/usage.h index 9390e34..37f8841 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" -- cgit v1.1