Message ID | 20180816102802.31782-10-phil@nwl.cc |
---|---|
State | Accepted, archived |
Delegated to: | stephen hemminger |
Headers | show |
Series | Review help texts and man pages | expand |
diff --git a/ip/rtmon.c b/ip/rtmon.c index acc11df49b423..0e795f740e627 100644 --- a/ip/rtmon.c +++ b/ip/rtmon.c @@ -63,7 +63,9 @@ static int dump_msg2(const struct sockaddr_nl *who, static void usage(void) { - fprintf(stderr, "Usage: rtmon file FILE [ all | LISTofOBJECTS]\n"); + fprintf(stderr, "Usage: rtmon [ OPTIONS ] file FILE [ all | LISTofOBJECTS ]\n"); + fprintf(stderr, "OPTIONS := { -f[amily] { inet | inet6 | link | help } |\n" + " -4 | -6 | -0 | -V[ersion] }\n"); fprintf(stderr, "LISTofOBJECTS := [ link ] [ address ] [ route ]\n"); exit(-1); }
Signed-off-by: Phil Sutter <phil@nwl.cc> --- ip/rtmon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)