diff options
| author | N Balachandran <nbalacha@redhat.com> | 2017-11-06 09:30:54 +0530 |
|---|---|---|
| committer | jiffin tony Thottan <jthottan@redhat.com> | 2017-11-08 06:14:38 +0000 |
| commit | 3654ddc269a366d786cdef2a799a8b95025f1c8a (patch) | |
| tree | 9b5e2a29cbbba44915491afe885ada460af3b58c /cli/src/cli.c | |
| parent | 1a1bdfbffc81981a80af40ebf000194d9bcd1bf0 (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: 1509786
> BUG: 1474768
> Signed-off-by: N Balachandran <nbalacha@redhat.com>
(cherry picked from commit 89dc54f50c9f800ca4446ea8fe736e4860588845)
Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'cli/src/cli.c')
| -rw-r--r-- | cli/src/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c index 18ca5c82dd0..ce06366da9f 100644 --- a/cli/src/cli.c +++ b/cli/src/cli.c @@ -515,7 +515,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; } |
