aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-04-26 19:32:49 +0000
committerEric Andersen <andersen@codepoet.org>2004-04-26 19:32:49 +0000
commitf71ad6c9e487dc853ba6f7e1c238efdd4ed140a8 (patch)
tree2abf79e40261b349e69a1e4781cc901c0db70409
parent51ba90ef51afbf234c494209278e9b11fad8605e (diff)
downloadbusybox-f71ad6c9e487dc853ba6f7e1c238efdd4ed140a8.tar.gz
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.c2
-rw-r--r--networking/libiproute/iptunnel.c2
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);
}