From: Phil Sutter Date: Thu, 16 Aug 2018 10:27:55 +0000 (+0200) Subject: devlink: trivial: Make help text consistent X-Git-Tag: v4.19.0~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb75b9bf2f3fa392807bf09ed41eef25b89e1e82;p=thirdparty%2Fiproute2.git 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 Signed-off-by: Stephen Hemminger --- diff --git a/devlink/devlink.c b/devlink/devlink.c index 784bb84bf..519ee2577 100644 --- a/devlink/devlink.c +++ b/devlink/devlink.c @@ -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)