naccyde / rpms / iproute

Forked from rpms/iproute 5 months ago
Clone

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

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