|
|
049c96 |
From 6f07a04604fada54d38c78c51b174931c2e42a35 Mon Sep 17 00:00:00 2001
|
|
|
049c96 |
From: Phil Sutter <psutter@redhat.com>
|
|
|
049c96 |
Date: Mon, 7 Mar 2016 20:33:46 +0100
|
|
|
049c96 |
Subject: [PATCH] ip: align help text with manpage
|
|
|
049c96 |
|
|
|
049c96 |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1251186
|
|
|
049c96 |
Upstream Status: iproute2.git commit 7a53aa592fffb
|
|
|
049c96 |
|
|
|
049c96 |
commit 7a53aa592fffbe5984aa8adbe76f5b370b247f05
|
|
|
049c96 |
Author: Phil Sutter <phil@nwl.cc>
|
|
|
049c96 |
Date: Wed Mar 2 19:19:49 2016 +0100
|
|
|
049c96 |
|
|
|
049c96 |
ip: align help text with manpage
|
|
|
049c96 |
|
|
|
049c96 |
Although the ip command accepts both "neighbor" and "neighbour" as
|
|
|
049c96 |
subcommand, I assume it's sufficient to list it in help text as just
|
|
|
049c96 |
"neigh" like ip.8 does.
|
|
|
049c96 |
|
|
|
049c96 |
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
|
|
049c96 |
---
|
|
|
049c96 |
ip/ip.c | 2 +-
|
|
|
049c96 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
049c96 |
|
|
|
049c96 |
diff --git a/ip/ip.c b/ip/ip.c
|
|
|
049c96 |
index 361daf4..8b9b9c0 100644
|
|
|
049c96 |
--- a/ip/ip.c
|
|
|
049c96 |
+++ b/ip/ip.c
|
|
|
049c96 |
@@ -47,7 +47,7 @@ static void usage(void)
|
|
|
049c96 |
fprintf(stderr,
|
|
|
049c96 |
"Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }\n"
|
|
|
049c96 |
" ip [ -force ] -batch filename\n"
|
|
|
049c96 |
-"where OBJECT := { link | address | addrlabel | route | rule | neighbor | ntable |\n"
|
|
|
049c96 |
+"where OBJECT := { link | address | addrlabel | route | rule | neigh | ntable |\n"
|
|
|
049c96 |
" tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |\n"
|
|
|
049c96 |
" netns | l2tp | tcp_metrics | token }\n"
|
|
|
049c96 |
" OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |\n"
|
|
|
049c96 |
--
|
|
|
049c96 |
1.8.3.1
|
|
|
049c96 |
|