naccyde / rpms / iproute

Forked from rpms/iproute 7 months ago
Clone

Blame SOURCES/0003-devlink-trivial-Make-help-text-consistent.patch

930fb9
From fbcb1d0f1411bb21c9045a03188345e9c550624b Mon Sep 17 00:00:00 2001
930fb9
From: Phil Sutter <psutter@redhat.com>
930fb9
Date: Thu, 13 Sep 2018 20:36:09 +0200
930fb9
Subject: [PATCH] devlink: trivial: Make help text consistent
930fb9
930fb9
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1612704
930fb9
Upstream Status: iproute2.git commit bb75b9bf2f3fa
930fb9
Conflicts: Context change due to missing 'region' support.
930fb9
930fb9
commit bb75b9bf2f3fa392807bf09ed41eef25b89e1e82
930fb9
Author: Phil Sutter <phil@nwl.cc>
930fb9
Date:   Thu Aug 16 12:27:55 2018 +0200
930fb9
930fb9
    devlink: trivial: Make help text consistent
930fb9
930fb9
    Typically the part of the flag in brackets completes the leading part
930fb9
    instead of repeating it.
930fb9
930fb9
    Signed-off-by: Phil Sutter <phil@nwl.cc>
930fb9
    Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
930fb9
---
930fb9
 devlink/devlink.c | 2 +-
930fb9
 1 file changed, 1 insertion(+), 1 deletion(-)
930fb9
930fb9
diff --git a/devlink/devlink.c b/devlink/devlink.c
930fb9
index df2c66d..1142d16 100644
930fb9
--- a/devlink/devlink.c
930fb9
+++ b/devlink/devlink.c
930fb9
@@ -4492,7 +4492,7 @@ static void help(void)
930fb9
 	pr_err("Usage: devlink [ OPTIONS ] OBJECT { COMMAND | help }\n"
930fb9
 	       "       devlink [ -f[orce] ] -b[atch] filename\n"
930fb9
 	       "where  OBJECT := { dev | port | sb | monitor | dpipe | resource }\n"
930fb9
-	       "       OPTIONS := { -V[ersion] | -n[no-nice-names] | -j[json] | -p[pretty] | -v[verbose] }\n");
930fb9
+	       "       OPTIONS := { -V[ersion] | -n[o-nice-names] | -j[json] | -p[pretty] | -v[verbose] }\n");
930fb9
 }
930fb9
 
930fb9
 static int dl_cmd(struct dl *dl, int argc, char **argv)
930fb9
-- 
930fb9
1.8.3.1
930fb9