summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.c
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2017-08-01 16:58:27 +0530
committerAtin Mukherjee <amukherj@redhat.com>2017-11-02 12:54:06 +0000
commit89dc54f50c9f800ca4446ea8fe736e4860588845 (patch)
tree3ab8f0d02c5b7cec5d113b60826a7bdffcdc47c7 /cli/src/cli.c
parentf9eedcad0127705c685e8b192726e46b170f00d1 (diff)
cli: gluster help changes
gluster cli help now shows only the top level help commands. gluster <component> help will now show help commands for <component>. Change-Id: I263f53a0870d80ef4cfaad455fdaa47e2ac4423b BUG: 1474768 Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r--cli/src/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index 66cc91f3a4e..050c8384e01 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -514,7 +514,7 @@ cli_usage_out (const char *usage)
if (!usage || usage[0] == '\0')
return -1;
- cli_err ("Usage: %s", usage);
+ cli_err ("\nUsage:\n%s\n", usage);
return 0;
}