diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-04-26 19:32:49 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-04-26 19:32:49 +0000 |
commit | f71ad6c9e487dc853ba6f7e1c238efdd4ed140a8 (patch) | |
tree | 2abf79e40261b349e69a1e4781cc901c0db70409 | |
parent | 51ba90ef51afbf234c494209278e9b11fad8605e (diff) | |
download | busybox-w32-f71ad6c9e487dc853ba6f7e1c238efdd4ed140a8.tar.gz busybox-w32-f71ad6c9e487dc853ba6f7e1c238efdd4ed140a8.tar.bz2 busybox-w32-f71ad6c9e487dc853ba6f7e1c238efdd4ed140a8.zip |
Thomas Koeller writes:
Hi,
the following output is from BusyBox 1.0.0-pre10:
~ # ip link help
ip: Command "help" is unknown, try "ip link help".
tk
This patch fixes it by removing the advertisements for
the "ip blah help" stuff that is not implemented.
-rw-r--r-- | networking/libiproute/iplink.c | 2 | ||||
-rw-r--r-- | networking/libiproute/iptunnel.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c index 44b546d59..2550c196e 100644 --- a/networking/libiproute/iplink.c +++ b/networking/libiproute/iplink.c | |||
@@ -362,6 +362,6 @@ int do_iplink(int argc, char **argv) | |||
362 | } else | 362 | } else |
363 | return ipaddr_list_link(0, NULL); | 363 | return ipaddr_list_link(0, NULL); |
364 | 364 | ||
365 | bb_error_msg("Command \"%s\" is unknown, try \"ip link help\".", *argv); | 365 | bb_error_msg("Command \"%s\" is unknown.", *argv); |
366 | exit(-1); | 366 | exit(-1); |
367 | } | 367 | } |
diff --git a/networking/libiproute/iptunnel.c b/networking/libiproute/iptunnel.c index 3f5d05ae9..f8713e08b 100644 --- a/networking/libiproute/iptunnel.c +++ b/networking/libiproute/iptunnel.c | |||
@@ -543,6 +543,6 @@ int do_iptunnel(int argc, char **argv) | |||
543 | } else | 543 | } else |
544 | return do_show(0, NULL); | 544 | return do_show(0, NULL); |
545 | 545 | ||
546 | bb_error_msg("Command \"%s\" is unknown, try \"ip tunnel help\".", *argv); | 546 | bb_error_msg("Command \"%s\" is unknown.", *argv); |
547 | exit(-1); | 547 | exit(-1); |
548 | } | 548 | } |