Skip to contentSkip to conversation

ip xfrm mon: Add objects list to the usage output

PATCH New Vadim Kochan 1 participant 1 message Feb 14, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ip xfrm mon: Add objects list to the usage output

From: Vadim Kochan <[email protected]>

---
 ip/xfrm_monitor.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
ip/xfrm_monitor.c +2 -1
index 79453e4..0b58d24 100644
@@ -36,7 +36,8 @@ static void usage(void) __attribute__((noreturn));
 
 static void usage(void)
 {
-	fprintf(stderr, "Usage: ip xfrm monitor [ all | LISTofXFRM-OBJECTS ]\n");
+	fprintf(stderr, "Usage: ip xfrm monitor [ all | OBJECTS | help ]\n");
+	fprintf(stderr, "OBJECTS := { acquire | expire | SA | aevent | policy | report }\n");
 	exit(-1);
 }
 
Signature · 1 line
2.2.2