[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210107152327.1141060-3-idosch@idosch.org>
Date: Thu, 7 Jan 2021 17:23:27 +0200
From: Ido Schimmel <idosch@...sch.org>
To: netdev@...r.kernel.org
Cc: stephen@...workplumber.org, dsahern@...il.com, petrm@...dia.com,
mlxsw@...dia.com, Ido Schimmel <idosch@...dia.com>
Subject: [PATCH iproute2 2/2] ipmonitor: Mention "nexthop" object in help and man page
From: Ido Schimmel <idosch@...dia.com>
Before:
# ip monitor help
Usage: ip monitor [ all | LISTofOBJECTS ] [ FILE ] [ label ] [all-nsid] [dev DEVICE]
LISTofOBJECTS := link | address | route | mroute | prefix |
neigh | netconf | rule | nsid
FILE := file FILENAME
After:
# ip monitor help
Usage: ip monitor [ all | LISTofOBJECTS ] [ FILE ] [ label ] [all-nsid] [dev DEVICE]
LISTofOBJECTS := link | address | route | mroute | prefix |
neigh | netconf | rule | nsid | nexthop
FILE := file FILENAME
Signed-off-by: Ido Schimmel <idosch@...dia.com>
---
ip/ipmonitor.c | 2 +-
man/man8/ip-monitor.8 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ip/ipmonitor.c b/ip/ipmonitor.c
index 685be52cfe64..99f5fda8ba1f 100644
--- a/ip/ipmonitor.c
+++ b/ip/ipmonitor.c
@@ -32,7 +32,7 @@ static void usage(void)
fprintf(stderr,
"Usage: ip monitor [ all | LISTofOBJECTS ] [ FILE ] [ label ] [all-nsid] [dev DEVICE]\n"
"LISTofOBJECTS := link | address | route | mroute | prefix |\n"
- " neigh | netconf | rule | nsid\n"
+ " neigh | netconf | rule | nsid | nexthop\n"
"FILE := file FILENAME\n");
exit(-1);
}
diff --git a/man/man8/ip-monitor.8 b/man/man8/ip-monitor.8
index 86f8f9885fef..f886d31b8013 100644
--- a/man/man8/ip-monitor.8
+++ b/man/man8/ip-monitor.8
@@ -55,7 +55,7 @@ command is the first in the command line and then the object list follows:
is the list of object types that we want to monitor.
It may contain
.BR link ", " address ", " route ", " mroute ", " prefix ", "
-.BR neigh ", " netconf ", " rule " and " nsid "."
+.BR neigh ", " netconf ", " rule ", " nsid " and " nexthop "."
If no
.B file
argument is given,
--
2.29.2
Powered by blists - more mailing lists