Bug 763823 (GLUSTER-2091)

Summary: Gluster CLI exits after issuing volume help
Product: [Community] GlusterFS Reporter: Eco <eco>
Component: cliAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 3.1.0CC: gluster-bugs, rahulcs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eco 2010-11-11 17:56:08 UTC
From the cli, if you issue the help command, you remain within the gluster> prompt.

gluster> help
volume info [all|<VOLNAME>] - list information of all volumes
...
help - display command options

However, if you issue: 
gluster> volume help   
volume info [all|<VOLNAME>] - list information of all volumes
...
volume reset <VOLNAME>  - reset all the reconfigured options
[root@edw-gc01 ~]#     <--- you get dropped to notmal shell

Comment 1 Anand Avati 2010-11-14 15:26:55 UTC
PATCH: http://patches.gluster.com/patch/5689 in master (cli: remove special behavior for help commands without readline)

Comment 2 Pranith Kumar K 2010-11-14 23:16:56 UTC
removed special behavior of exiting from shell when readline is not enabled to fix the bug.