[Bugs] [Bug 1242894] New: [RFE] 'gluster volume help' output could be sorted alphabetically

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 14 11:03:26 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1242894

            Bug ID: 1242894
           Summary: [RFE] 'gluster volume help' output could be sorted
                    alphabetically
           Product: GlusterFS
           Version: mainline
         Component: cli
          Keywords: EasyFix, FutureFeature, Triaged
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: mliyazud at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com,
                    kaushal at redhat.com, kparthas at redhat.com,
                    sasundar at redhat.com
        Depends On: 1193298



+++ This bug was initially created as a clone of Bug #1193298 +++

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.


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1193298
[Bug 1193298] [RFE] 'gluster volume help' output could be sorted
alphabetically
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list