summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd-misc.c
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2012-02-26 22:16:59 +0530
committerVijay Bellur <vijay@gluster.com>2012-02-27 02:16:27 -0800
commit3cad6558b030bc3b0ebb662ec7d0346ab9a32cc2 (patch)
tree62eeaa3dbd93aebb09f0c327ff9280aa5dc8fc1a /cli/src/cli-cmd-misc.c
parent20b50008c710c973ebb0a84506b55e6aea044fad (diff)
cli: Add 'exit' command.
Based on request at: http://community.gluster.org/i/make-cli-understand-command-exit/ Change-Id: I9116236a8c2f7767c88672b8d3d6565906bfc61f BUG: 797551 Signed-off-by: Vijay Bellur <vijay@gluster.com> Reviewed-on: http://review.gluster.com/2815 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'cli/src/cli-cmd-misc.c')
-rw-r--r--cli/src/cli-cmd-misc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/src/cli-cmd-misc.c b/cli/src/cli-cmd-misc.c
index 40f419cde04..66d755fc2dc 100644
--- a/cli/src/cli-cmd-misc.c
+++ b/cli/src/cli-cmd-misc.c
@@ -80,6 +80,10 @@ struct cli_cmd cli_misc_cmds[] = {
cli_cmd_display_help,
"display command options"},
+ { "exit",
+ cli_cmd_quit_cbk,
+ "exit"},
+
{ NULL, NULL, NULL }
};