summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.c
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2017-11-06 10:00:54 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2017-11-16 14:37:45 +0000
commit22e14d7f8eb40838a0af8486abfbbd54364e9154 (patch)
tree78aed6c064a6319254b3ae13b86415909fc35478 /cli/src/cli.c
parente1f780ca8f17b8b9615356796093dc7a75f5ff8a (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>. > BUG: 1474768 > Signed-off-by: N Balachandran <nbalacha@redhat.com> (cherry picked from commit 89dc54f50c9f800ca4446ea8fe736e4860588845) Change-Id: I263f53a0870d80ef4cfaad455fdaa47e2ac4423b BUG: 1509789 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;
}