Description of problem: ----------------------- 'gluster volume help' output is not sorted alphabetically. This makes little harder for the user to search or get to know of few gluster volume commands usage just from gluster cli. This could be improved by sorting the volume subset alphabetically Version-Release number of selected component (if applicable): ------------------------------------------------------------- mainline How reproducible: ----------------- Always Steps to Reproduce: ------------------- 1. Execute 'gluster volume help' on CLI Actual results: --------------- all volume subset options are not sorted alphabetically Expected results: ----------------- Volume subset options should be sorted Additional info: ---------------- Current output looks like this, [~]# gluster v help volume info ... volume create ... volume delete ... volume start ... volume stop ... volume add-brick ... volume remove-brick ... volume rebalance ... volume replace-brick ... volume set ... volume help ... ' ' volume clear-locks ... It could be sorted alphabetically as, [~]# gluster v help volume add-brick ... volume create ... volume clear-locks ... volume delete ... volume help ... volume info ... volume rebalance ... volume remove-brick ... volume replace-brick ... ' ' volume set ... volume start ... volume stop ... ' ' The justification is that future days could bring in more new options to 'volume' command, and it is difficult to search through that output.
changing version to mainline in order to retire pre-release. If you know the appropriate, correct version for this bug, please set it.
COMMIT: http://review.gluster.org/11663 committed in master by Jeff Darcy (jdarcy) ------ commit 323e71617fee5020324540776d0d4469577f0afe Author: Mohamed Ashiq <mliyazud> Date: Wed Jul 15 14:19:49 2015 +0530 cli : 'gluster volume help' output sorted alphabetically 'gluster volume help' output is not sorted alphabetically. This makes little harder for the user to search or get to know of few gluster volume commands usage just from gluster cli. Change-Id: I855da2e4748a5c2ff3be319c50fa9548d676ee8a BUG: 1242894 Signed-off-by: Mohamed Ashiq <mliyazud> Reviewed-on: http://review.gluster.org/11663 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Manikandan Selvaganesh <mselvaga> Reviewed-by: Anand Nekkunti <anekkunt>
*** This bug has been marked as a duplicate of bug 1242894 ***