Bug 880764 - help message for repos --enable --disable needs "(can be specified more than once)"
Summary: help message for repos --enable --disable needs "(can be specified more than ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 5.10
Assignee: Bryan Kearney
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel510 rhsm-2013
TreeView+ depends on / blocked
 
Reported: 2012-11-27 18:51 UTC by John Sefler
Modified: 2013-09-30 22:53 UTC (History)
4 users (show)

Fixed In Version: 1.8.2
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2013-09-30 22:53:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1332 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-09-30 22:49:24 UTC

Description John Sefler 2012-11-27 18:51:52 UTC
Description of problem:
To be consistent with bug 874755, we should update the online help descriptions for the repos --enable and --disable to include "(can be specified more than once)".


Version-Release number of selected component (if applicable):
[root@jsefler-6 ~]# rpm -q subscription-manager
subscription-manager-1.1.10-1.el6.x86_64


How reproducible:


Steps to Reproduce:
[root@jsefler-6 ~]# subscription-manager repos --help
Usage: subscription-manager repos [OPTIONS]

List the repositories which this system is entitled to use

Options:
  -h, --help        show this help message and exit
  --list            list known repos for this system
  --enable=REPOID   repo to enable
  --disable=REPOID  repo to disable


Expected results:
  --enable=REPOID   repo to enable (can be specified more than once)
  --disable=REPOID  repo to disable (can be specified more than once)

Additional info:

Comment 2 Bryan Kearney 2012-12-10 13:51:31 UTC
commit ddc664071261e7f018849bbc48ff655820d91418
Author: Bryan Kearney <bkearney>
Date:   Thu Dec 6 14:59:27 2012 -0500

    880764: Command line options which can be specified more than once should use the sa

Comment 4 Bryan Kearney 2013-02-08 17:18:42 UTC
Fixed in the 1.8.2 version of subscription-manager or python-rhsm

Comment 5 Shwetha Kallesh 2013-02-19 09:41:15 UTC
Verified!!

version:
[root@rhel7 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.7.24-1
subscription-manager: 1.8.2-1.el7
python-rhsm: 1.8.2-1.el7




[root@rhel7 ~]# subscription-manager repos --help
Usage: subscription-manager repos [OPTIONS]

List the repositories which this system is entitled to use

Options:
  -h, --help        show this help message and exit
  --list            list known repos for this system
  --enable=REPOID   repo to enable (can be specified more than once)
  --disable=REPOID  repo to disable (can be specified more than once)

Comment 6 RHEL Program Management 2013-04-09 20:53:40 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 8 errata-xmlrpc 2013-09-30 22:53:08 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, and where to find the updated
files, follow the link below.

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

http://rhn.redhat.com/errata/RHBA-2013-1332.html


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