[Bugs] [Bug 1535495] New: Add option -h and --help to gluster cli

bugzilla at redhat.com bugzilla at redhat.com
Wed Jan 17 14:12:58 UTC 2018


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

            Bug ID: 1535495
           Summary: Add option -h and --help to gluster cli
           Product: GlusterFS
           Version: mainline
         Component: cli
          Assignee: bugs at gluster.org
          Reporter: mscherer at redhat.com
                CC: bugs at gluster.org



Description of problem:

So, when running a tool for the first time, I usually try to use --help or -h
to see what I need to do with it.

Not for gluster:


[root at proxy01 ~]# gluster -h
unrecognized word: -h (position 0)
[root at proxy01 ~]# gluster --help
unrecognized option --help
[root at proxy01 ~]# gluster help
 peer help                - display help for peer commands
 volume help              - display help for volume commands
 volume bitrot help       - display help for volume bitrot commands
 volume quota help        - display help for volume quota commands
 volume tier help         - display help for volume tier commands
 snapshot help            - display help for snapshot commands
 global help              - list global commands

Could -h and --help be alias for help ?


Version-Release number of selected component (if applicable):

glusterfs-3.12.5-1.fc27.x86_64

How reproducible:

each time

Steps to Reproduce:
1. gluster -h


Actual results:

unrecognized word: -h (position 0)


Expected results:

 peer help                - display help for peer commands
 volume help              - display help for volume commands
 volume bitrot help       - display help for volume bitrot commands
 volume quota help        - display help for volume quota commands
 volume tier help         - display help for volume tier commands
 snapshot help            - display help for snapshot commands
 global help              - list global commands


Additional info:

none, but thanks for asking.

-- 
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