Thomas Koeller writes:
authorEric Andersen <andersen@codepoet.org>
Mon, 26 Apr 2004 19:32:49 +0000 (19:32 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 26 Apr 2004 19:32:49 +0000 (19:32 -0000)
    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
networking/libiproute/iptunnel.c

index 44b546d598f9ef56dbb24dab059af22f0e7132d8..2550c196e493ef2cae628fefe7e80d77f158f0c3 100644 (file)
@@ -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);
 }
index 3f5d05ae91c47897946f10ba05209519b11f4754..f8713e08ba3b4e5934286ff38ba52c97fbd7bf1a 100644 (file)
@@ -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);
 }