Bug 1535522 - "gluster volume" cli message is not very helpful
Summary: "gluster volume" cli message is not very helpful
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: cli
Version: mainline
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Rishubh Jain
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-17 14:53 UTC by M. Scherer
Modified: 2021-06-14 13:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-18 07:57:44 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:
mscherer: needinfo-


Attachments (Terms of Use)

Description M. Scherer 2018-01-17 14:53:47 UTC
Description of problem:

running "gluster volume" without a parameter show a error message.


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


How reproducible:
each time

Steps to Reproduce:
1. gluster volume
2.
3.

Actual results:

unrecognized command


Expected results:

Either:
- the help message, so we know what command to run after that

- the output of the list command, to mimic the UX of the "ip" command, as that's kinda what I do expect as a linux sysadmin.

"ip a" show what "ip a ls" is supposed to show, and that's a common pattern.



Additional info:
None

Comment 1 Atin Mukherjee 2019-07-15 03:11:03 UTC
root@2915b8e2ebc0:/home/glusterfs# gluster volume
unrecognized command

 Usage: gluster [options] <help> <peer> <pool> <volume>
 Options:
 --help  Shows the help information
 --version  Shows the version
 --print-logdir  Shows the log directory
 --print-statedumpdir Shows the state dump directory

The above is from the release-6 branch. Isn't that what you intend for?

I guess this bug can be closed now?

Comment 2 Sanju 2019-07-18 07:57:44 UTC
Based on Comment 1, closing this bug.


Note You need to log in before you can comment on or make changes to this bug.