Bug 1728683 - [geo-rep] gluster-mountbroker missing a brief description of what the argument does in # gluster-mountbroker {add|remove|setup} --help
Summary: [geo-rep] gluster-mountbroker missing a brief description of what the argumen...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Kshithij Iyer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-10 12:40 UTC by Kshithij Iyer
Modified: 2019-10-21 12:24 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-10-21 12:24:21 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 23023 0 None Open [geo-rep] Imporving help message for gluster-mountbroker 2019-07-10 13:14:51 UTC

Description Kshithij Iyer 2019-07-10 12:40:37 UTC
Description of problem:
The arguments for gluster-mountbroker is missing help="< Some Text>" parameter wherever add_argument() is used due to which gluster-mountbroker help is missing  a brief description of what the argument does in the help of {add,setup,remove} as shown below:

# gluster-mountbroker remove --help
usage: gluster-mountbroker remove [-h] [--volume VOLUME] [--user USER]

optional arguments:
  -h, --help       show this help message and exit
  --volume VOLUME
  --user USER
# gluster-mountbroker add  --help
usage: gluster-mountbroker add [-h] volume user

positional arguments:
  volume
  user

optional arguments:
  -h, --help  show this help message and exit
# gluster-mountbroker setup  --help
usage: gluster-mountbroker setup [-h] mount_root group

positional arguments:
  mount_root
  group

optional arguments:
  -h, --help  show this help message and exit
# 


Version-Release number of selected component (if applicable):
Whatever is the current upstream version.

How reproducible:
constantly 

Steps to Reproduce:
1. Issue a # gluster-mountbroker {add|remove|setup} --help

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2019-07-10 13:14:52 UTC
REVIEW: https://review.gluster.org/23023 ([geo-rep] Imporving help message for gluster-mountbroker) posted (#1) for review on master by Kshithij Iyer

Comment 2 Kshithij Iyer 2019-10-21 12:24:21 UTC
Patch https://review.gluster.org/23023 was merged. Hence closing the bug.


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