diff mbox series

[iproute2,2/2] ipmonitor: Mention "nexthop" object in help and man page

Message ID 20210107152327.1141060-3-idosch@idosch.org (mailing list archive)
State Accepted
Delegated to: David Ahern
Headers show
Series nexthop: Small usage improvements | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Ido Schimmel Jan. 7, 2021, 3:23 p.m. UTC
From: Ido Schimmel <idosch@nvidia.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@nvidia.com>
---
 ip/ipmonitor.c        | 2 +-
 man/man8/ip-monitor.8 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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,