]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip: align help text with manpage
authorPhil Sutter <phil@nwl.cc>
Wed, 2 Mar 2016 18:19:49 +0000 (19:19 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 2 Mar 2016 19:23:51 +0000 (11:23 -0800)
Although the ip command accepts both "neighbor" and "neighbour" as
subcommand, I assume it's sufficient to list it in help text as just
"neigh" like ip.8 does.

Signed-off-by: Phil Sutter <phil@nwl.cc>
ip/ip.c

diff --git a/ip/ip.c b/ip/ip.c
index eea00b822088ef5accb6a3e25eb11027d09ac527..123f18133a2e5e90a8169018dac572f012cf0db0 100644 (file)
--- a/ip/ip.c
+++ b/ip/ip.c
@@ -49,7 +49,7 @@ static void usage(void)
        fprintf(stderr,
 "Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }\n"
 "       ip [ -force ] -batch filename\n"
-"where  OBJECT := { link | address | addrlabel | route | rule | neighbor | ntable |\n"
+"where  OBJECT := { link | address | addrlabel | route | rule | neigh | ntable |\n"
 "                   tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |\n"
 "                   netns | l2tp | fou | tcp_metrics | token | netconf }\n"
 "       OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |\n"