Blob Blame History Raw
From fbcb1d0f1411bb21c9045a03188345e9c550624b Mon Sep 17 00:00:00 2001
From: Phil Sutter <psutter@redhat.com>
Date: Thu, 13 Sep 2018 20:36:09 +0200
Subject: [PATCH] devlink: trivial: Make help text consistent

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1612704
Upstream Status: iproute2.git commit bb75b9bf2f3fa
Conflicts: Context change due to missing 'region' support.

commit bb75b9bf2f3fa392807bf09ed41eef25b89e1e82
Author: Phil Sutter <phil@nwl.cc>
Date:   Thu Aug 16 12:27:55 2018 +0200

    devlink: trivial: Make help text consistent

    Typically the part of the flag in brackets completes the leading part
    instead of repeating it.

    Signed-off-by: Phil Sutter <phil@nwl.cc>
    Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 devlink/devlink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devlink/devlink.c b/devlink/devlink.c
index df2c66d..1142d16 100644
--- a/devlink/devlink.c
+++ b/devlink/devlink.c
@@ -4492,7 +4492,7 @@ static void help(void)
 	pr_err("Usage: devlink [ OPTIONS ] OBJECT { COMMAND | help }\n"
 	       "       devlink [ -f[orce] ] -b[atch] filename\n"
 	       "where  OBJECT := { dev | port | sb | monitor | dpipe | resource }\n"
-	       "       OPTIONS := { -V[ersion] | -n[no-nice-names] | -j[json] | -p[pretty] | -v[verbose] }\n");
+	       "       OPTIONS := { -V[ersion] | -n[o-nice-names] | -j[json] | -p[pretty] | -v[verbose] }\n");
 }
 
 static int dl_cmd(struct dl *dl, int argc, char **argv)
-- 
1.8.3.1