Bug 880764

Summary: help message for repos --enable --disable needs "(can be specified more than once)"
Product: Red Hat Enterprise Linux 5 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.10CC: bkearney, jgalipea, mreid, skallesh
Target Milestone: beta   
Target Release: 5.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.8.2 Doc Type: Bug Fix
Doc Text:
No description necessary
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-30 22:53:08 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:
Bug Depends On:    
Bug Blocks: 840995, 920191    

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