Bug 763821 (GLUSTER-2089)

Summary: Documentation bug in replace-brick options
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: anush, gluster-bugs
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:41:12 UTC
gluster help and gluster volume help do not show a commit option.

[root@edw-gc01 ~]# gluster help
...
volume replace-brick <VOLNAME> (<BRICK> <NEW-BRICK>) start|pause|abort|status - replace-brick operations
...

[root@edw-gc01 ~]# gluster volume help
...
volume replace-brick <VOLNAME> (<BRICK> <NEW-BRICK>) start|pause|abort|status - replace-brick operations
...

However, it is shown if you enter the command incorrectly:

[root@edw-gc01 ~]# gluster volume replace-brick help
Usage: volume replace-brick <VOLNAME> <BRICK> <NEW-BRICK> start|pause|abort|commit|status
Replacing brick from Volume help failed

Comment 1 Anand Avati 2010-12-15 00:42:13 UTC
PATCH: http://patches.gluster.com/patch/5884 in master (cli: remove duplication of cmd help)