diff options
author | Vijay Bellur <vijay@gluster.com> | 2010-08-17 03:37:46 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-17 02:23:59 -0700 |
commit | e5737546071bd1d38430503bb64b9998bd7870dd (patch) | |
tree | c5a9fe82f2474ff6c8792381c1b77384c9f82983 /cli/src/cli-cmd.c | |
parent | ead92558ee8ec71442b2fa2da1a0df197ee78467 (diff) |
cli: Implement help command
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1229 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1229
Diffstat (limited to 'cli/src/cli-cmd.c')
-rw-r--r-- | cli/src/cli-cmd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/src/cli-cmd.c b/cli/src/cli-cmd.c index 4353cb6e..d7a4fcd8 100644 --- a/cli/src/cli-cmd.c +++ b/cli/src/cli-cmd.c @@ -50,6 +50,9 @@ cli_cmd_needs_connection (struct cli_cmd_word *word) if (!strcasecmp ("quit", word->word)) return _gf_false; + if (!strcasecmp ("help", word->word)) + return _gf_false; + return _gf_true; } |