Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nvme-cli: update command message for "help"
@ 2019-06-01  5:54 Minwoo Im
  2019-06-02  7:12 ` Sagi Grimberg
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Minwoo Im @ 2019-06-01  5:54 UTC (permalink / raw)


The "help" subcommand will show the man page, not the help message which
is printed out to stdout by --help option.  The previous message might
make confusions between man page and --help options so that it needs to
be updated.

Cc: Keith Busch <kbusch at kernel.org>
Signed-off-by: Minwoo Im <minwoo.im.dev at gmail.com>
---
 plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin.c b/plugin.c
index 4750df6..8fd0605 100644
--- a/plugin.c
+++ b/plugin.c
@@ -91,7 +91,7 @@ void general_help(struct plugin *plugin)
 					plugin->commands[i]->help);
 
 	printf("  %-*s %s\n", padding, "version", "Shows the program version");
-	printf("  %-*s %s\n", padding, "help", "Display this help");
+	printf("  %-*s %s\n", padding, "help", "Display the man page");
 	printf("\n");
 
 	if (plugin->name)
-- 
2.21.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-07-25 13:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-01  5:54 [PATCH] nvme-cli: update command message for "help" Minwoo Im
2019-06-02  7:12 ` Sagi Grimberg
2019-06-02 23:18 ` Chaitanya Kulkarni
2019-07-24 17:17 ` Keith Busch
2019-07-25 13:25   ` Minwoo Im

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox