summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd.c
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-09-07 04:29:55 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-07 07:46:02 -0700
commit4f64c970ed1e334ba17413178eaf355f454c201f (patch)
tree750f403b0d541aaf6588b2207480deaf7d60fbcd /cli/src/cli-cmd.c
parent95bafb5ad41458fbb16c680af94c2841c49c5322 (diff)
Change cli volume/peer cmd's --help option to help
Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1529 (need man pages for 'gluster' and 'glusterd') URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1529
Diffstat (limited to 'cli/src/cli-cmd.c')
-rw-r--r--cli/src/cli-cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-cmd.c b/cli/src/cli-cmd.c
index 934936af9..011edacfe 100644
--- a/cli/src/cli-cmd.c
+++ b/cli/src/cli-cmd.c
@@ -95,7 +95,7 @@ cli_cmd_process (struct cli_state *state, int argc, char **argv)
return -1;
}
- if ( strcmp (word->word,"--help")==0 )
+ if ( strcmp (word->word,"help")==0 )
goto callback;
await_conn = cli_cmd_needs_connection (word);