Bug 1015970

Summary: help message for --all should be changed to be in sync with --servicelevel and --ondate
Product: Red Hat Enterprise Linux 7 Reporter: Shwetha Kallesh <skallesh>
Component: subscription-managerAssignee: Carter Kozak <ckozak>
Status: CLOSED DUPLICATE QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: bkearney, ckozak, jgalipea
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-08 13:47:17 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:

Description Shwetha Kallesh 2013-10-07 07:17:14 UTC
Description of problem:
help message for --match-installed  and --all should be changed to be in sync with --servicelevel and --ondate 

Version-Release number of selected component (if applicable):
[root@localhost ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.27-1
subscription-manager: 1.10.3-1.git.0.c59a391.el7
python-rhsm: 1.10.3-1.git.0.6ac2883.el7


How reproducible:


Steps to Reproduce:
[root@localhost ~]# subscription-manager list --help
Usage: subscription-manager list [OPTIONS]

List subscription and product information for this system

Options:
  -h, --help            show this help message and exit
  --proxy=PROXY_URL     proxy URL in the form of proxy_hostname:proxy_port
  --proxyuser=PROXY_USER
                        user for HTTP proxy with basic authentication
  --proxypassword=PROXY_PASSWORD
                        password for HTTP proxy with basic authentication
  --installed           list shows those products which are installed
                        (default)
  --available           show those subscriptions which are available
  --all                 used with --available to ensure all subscriptions are
                        returned
  --ondate=ON_DATE      date to search on, defaults to today's date, only used
                        with --available (example: 2013-10-07)
  --consumed            show the subscriptions being consumed by this system
  --servicelevel=SERVICE_LEVEL
                        shows only subscriptions matching the specified
                        service level; only used with --available and
                        --consumed
  --no-overlap          show pools with this text in the name
  --match-installed     shows only subscriptions matching products that are
                        currently installed


Actual results:
--match-installed     shows only subscriptions matching products that are
                        currently installed
--all                 used with --available to ensure all subscriptions are
                        returned
Expected results:
--match-installed     shows only subscriptions matching products that are
                        currently installed,only used with --available
--all                 used with --available to ensure all subscriptions are
                        returned,only used with --available

Just like --servicelevel and --ondate 

Additional info:

Comment 2 Carter Kozak 2013-10-08 13:47:17 UTC
Not an exact duplicate, but this was addressed in bz 1015553

*** This bug has been marked as a duplicate of bug 1015553 ***