Bug 2051894

Summary: [cli] mark optional positional arguments as such in help output
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ilya Dryomov <idryomov>
Component: RBDAssignee: Ilya Dryomov <idryomov>
Status: CLOSED ERRATA QA Contact: Preethi <pnataraj>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.1CC: ceph-eng-bugs, ceph-qe-bugs, tserlin, vereddy
Target Milestone: ---   
Target Release: 5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.7-51.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-04 10:24:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 RHEL Program Management 2022-02-08 10:07:08 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 6 Preethi 2022-02-16 13:09:31 UTC
IIya, Looks like issue is still present in the latest build. We still see <Interval> and <start-time> as positional args instead of Optional args for snapshot schedule remove

@IIya, Issue is seen with latest build. 



[ceph: root@magna031 /]# rbd help mirror snapshot schedule remove
usage: rbd mirror snapshot schedule remove
                                      [--pool <pool>] 
                                      [--namespace <namespace>] 
                                      [--image <image>] 
                                      <interval> <start-time> 

Remove mirror snapshot schedule.

Positional arguments
  <interval>           schedule interval
  <start-time>         schedule start time

Optional arguments
  -p [ --pool ] arg    pool name
  --namespace arg      namespace name
  --image arg          image name

[ceph: root@magna031 /]# ceph version
ceph version 16.2.7-63.el8cp (bf7cd8de848e792908ac129b7bfe90e12a06549b) pacific (stable)
[ceph: root@magna031 /]#

Comment 10 Preethi 2022-02-17 11:38:28 UTC
got it. Moving to verified.

Comment 12 errata-xmlrpc 2022-04-04 10:24:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 5.1 Security, Enhancement, and Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:1174