Bug 974121 - An option in repo uploads erratum has a typo
An option in repo uploads erratum has a typo
Status: CLOSED CURRENTRELEASE
Product: Pulp
Classification: Community
Component: rpm-support (Show other bugs)
2.2 Beta
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 2.3.0
Assigned To: nobody nobody
Preethi Thomas
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-13 09:10 EDT by Jeremy Cline
Modified: 2013-12-09 09:31 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-12-09 09:31:56 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jeremy Cline 2013-06-13 09:10:43 EDT
Description of problem: 'pulp-admin rpm repo uploads erratum' has an option, --erratum_id, which I believe should be --erratum-id so that it is consistent with all other two word options in the CLI.


Version-Release number of selected component (if applicable): pulp-rpm-admin-extensions-2.2.0-0.3.beta.fc18.noarch


How reproducible: Always


Steps to Reproduce:
1. pulp-admin rpm repo uploads erratum


Actual results:
Available Arguments:

  --repo-id           - (required) unique identifier; only alphanumeric, ., -,
                        and _ allowed
  -v                  - display extra information about the upload process
  --erratum_id, -i    - (required) id of the erratum to create
...

Expected results:
Available Arguments:

  --repo-id           - (required) unique identifier; only alphanumeric, ., -,
                        and _ allowed
  -v                  - display extra information about the upload process
  --erratum-id, -i    - (required) id of the erratum to create


Additional info:
Comment 1 Jeremy Cline 2013-06-20 16:06:53 EDT
https://github.com/pulp/pulp_rpm/pull/260
Comment 4 Jeff Ortel 2013-09-12 18:36:09 EDT
build: 2.3.0-0.10.alpha
Comment 5 Preethi Thomas 2013-09-19 16:16:13 EDT
verified
[root@pulp-v2-server ~]# rpm -qa pulp-server
pulp-server-2.3.0-0.14.alpha.el6.noarch
[root@pulp-v2-server ~]# 

root@pulp-v2-server ~]#  pulp-admin rpm repo uploads erratum
Command: erratum
Description: creates a new erratum

Available Arguments:

  --repo-id           - (required) unique identifier; only alphanumeric, ., -,
                        and _ allowed
  -v                  - display extra information about the upload process
  --erratum-id, -i    - (required) id of the erratum to create
  --title, -n         - (required) title of the erratum
  --description, -d   - (required) description of the erratum
Comment 6 Preethi Thomas 2013-12-09 09:31:56 EST
Pulp 2.3 released.

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