]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
devlink: trivial: Make help text consistent
authorPhil Sutter <phil@nwl.cc>
Thu, 16 Aug 2018 10:27:55 +0000 (12:27 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 16 Aug 2018 17:25:01 +0000 (10:25 -0700)
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

index 784bb84bf7ad692ccaca2d859708c67b3542e361..519ee2577cc4ccd1493ba787f64b3eea73b45193 100644 (file)
@@ -5426,7 +5426,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 | region }\n"
-              "       OPTIONS := { -V[ersion] | -n[no-nice-names] | -j[json] | -p[pretty] | -v[verbose] }\n");
+              "       OPTIONS := { -V[ersion] | -n[o-nice-names] | -j[son] | -p[retty] | -v[erbose] }\n");
 }
 
 static int dl_cmd(struct dl *dl, int argc, char **argv)