From: Ido Schimmel Date: Thu, 7 Jan 2021 15:23:27 +0000 (+0200) Subject: ipmonitor: Mention "nexthop" object in help and man page X-Git-Tag: v5.12.0~26^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bd498bfcd6b441e66b56bb299fdd62657f4dde4;p=thirdparty%2Fiproute2.git ipmonitor: Mention "nexthop" object in help and man page 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 Signed-off-by: David Ahern --- diff --git a/ip/ipmonitor.c b/ip/ipmonitor.c index 685be52cf..99f5fda8b 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 86f8f9885..f886d31b8 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,