Blame SOURCES/0008-rtmon-List-options-in-help-text.patch

930fb9
From b5ebd3fee37bc9d1832c545f605c639140b8d6f1 Mon Sep 17 00:00:00 2001
930fb9
From: Phil Sutter <psutter@redhat.com>
930fb9
Date: Thu, 13 Sep 2018 20:38:04 +0200
930fb9
Subject: [PATCH] rtmon: List options in help text
930fb9
930fb9
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1612704
930fb9
Upstream Status: iproute2.git commit 6417c06b59b07
930fb9
930fb9
commit 6417c06b59b0731bcff4c0999661b256be6f52cb
930fb9
Author: Phil Sutter <phil@nwl.cc>
930fb9
Date:   Thu Aug 16 12:28:01 2018 +0200
930fb9
930fb9
    rtmon: List options in help text
930fb9
930fb9
    Signed-off-by: Phil Sutter <phil@nwl.cc>
930fb9
    Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
930fb9
---
930fb9
 ip/rtmon.c | 4 +++-
930fb9
 1 file changed, 3 insertions(+), 1 deletion(-)
930fb9
930fb9
diff --git a/ip/rtmon.c b/ip/rtmon.c
930fb9
index acc11df..0e795f7 100644
930fb9
--- a/ip/rtmon.c
930fb9
+++ b/ip/rtmon.c
930fb9
@@ -63,7 +63,9 @@ static int dump_msg2(const struct sockaddr_nl *who,
930fb9
 
930fb9
 static void usage(void)
930fb9
 {
930fb9
-	fprintf(stderr, "Usage: rtmon file FILE [ all | LISTofOBJECTS]\n");
930fb9
+	fprintf(stderr, "Usage: rtmon [ OPTIONS ] file FILE [ all | LISTofOBJECTS ]\n");
930fb9
+	fprintf(stderr, "OPTIONS := { -f[amily] { inet | inet6 | link | help } |\n"
930fb9
+			"             -4 | -6 | -0 | -V[ersion] }\n");
930fb9
 	fprintf(stderr, "LISTofOBJECTS := [ link ] [ address ] [ route ]\n");
930fb9
 	exit(-1);
930fb9
 }
930fb9
-- 
930fb9
1.8.3.1
930fb9