From f71ad6c9e487dc853ba6f7e1c238efdd4ed140a8 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 26 Apr 2004 19:32:49 +0000 Subject: 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. --- networking/libiproute/iplink.c | 2 +- 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) } else return ipaddr_list_link(0, NULL); - bb_error_msg("Command \"%s\" is unknown, try \"ip link help\".", *argv); + bb_error_msg("Command \"%s\" is unknown.", *argv); exit(-1); } 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) } else return do_show(0, NULL); - bb_error_msg("Command \"%s\" is unknown, try \"ip tunnel help\".", *argv); + bb_error_msg("Command \"%s\" is unknown.", *argv); exit(-1); } -- cgit v1.2.3