From: Phil Sutter Subject: [iproute PATCH 09/10] rtmon: List options in help text Date: Thu, 16 Aug 2018 12:28:01 +0200 Message-ID: <20180816102802.31782-10-phil@nwl.cc> References: <20180816102802.31782-1-phil@nwl.cc> Cc: netdev@vger.kernel.org To: Stephen Hemminger Return-path: Received: from orbyte.nwl.cc ([151.80.46.58]:43626 "EHLO orbyte.nwl.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390487AbeHPN0O (ORCPT ); Thu, 16 Aug 2018 09:26:14 -0400 In-Reply-To: <20180816102802.31782-1-phil@nwl.cc> Sender: netdev-owner@vger.kernel.org List-ID: Signed-off-by: Phil Sutter --- ip/rtmon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } -- 2.18.0