naccyde / rpms / iproute

Forked from rpms/iproute 5 months ago
Clone

Blame SOURCES/0200-iplink-List-valid-type-argument-in-ip-link-help-text.patch

049c96
From cb18b1973836de6baf786912af560d1f7086cea9 Mon Sep 17 00:00:00 2001
049c96
From: Phil Sutter <psutter@redhat.com>
049c96
Date: Wed, 20 Jul 2016 22:54:33 +0200
049c96
Subject: [PATCH] iplink: List valid 'type' argument in ip link help text
049c96
049c96
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1269528
049c96
Upstream Status: iproute2.git commit 771a24289044c
049c96
049c96
commit 771a24289044c264cfe7b83040c2b35459b4227d
049c96
Author: Phil Sutter <phil@nwl.cc>
049c96
Date:   Sat Jul 9 11:22:45 2016 +0200
049c96
049c96
    iplink: List valid 'type' argument in ip link help text
049c96
049c96
    Signed-off-by: Phil Sutter <phil@nwl.cc>
049c96
---
049c96
 ip/iplink.c | 4 +++-
049c96
 1 file changed, 3 insertions(+), 1 deletion(-)
049c96
049c96
diff --git a/ip/iplink.c b/ip/iplink.c
049c96
index 619556c..0098443 100644
049c96
--- a/ip/iplink.c
049c96
+++ b/ip/iplink.c
049c96
@@ -55,7 +55,9 @@ void iplink_usage(void)
049c96
 		fprintf(stderr, "                   type TYPE [ ARGS ]\n");
049c96
 		fprintf(stderr, "       ip link delete { DEVICE | dev DEVICE | group DEVGROUP } type TYPE [ ARGS ]\n");
049c96
 		fprintf(stderr, "\n");
049c96
-		fprintf(stderr, "       ip link set { DEVICE | dev DEVICE | group DEVGROUP } [ { up | down } ]\n");
049c96
+		fprintf(stderr, "       ip link set { DEVICE | dev DEVICE | group DEVGROUP }\n");
049c96
+		fprintf(stderr, "	                  [ { up | down } ]\n");
049c96
+		fprintf(stderr, "	                  [ type TYPE ARGS ]\n");
049c96
 	} else
049c96
 		fprintf(stderr, "Usage: ip link set DEVICE [ { up | down } ]\n");
049c96
 
049c96
-- 
049c96
1.8.3.1
049c96