From: Phil Sutter Date: Thu, 16 Aug 2018 10:28:01 +0000 (+0200) Subject: rtmon: List options in help text X-Git-Tag: v4.19.0~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6417c06b59b0731bcff4c0999661b256be6f52cb;p=thirdparty%2Fiproute2.git rtmon: List options in help text Signed-off-by: Phil Sutter Signed-off-by: Stephen Hemminger --- diff --git a/ip/rtmon.c b/ip/rtmon.c index acc11df49..0e795f740 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); }