Bug 812153 - release command should have a --show option which is the default
Summary: release command should have a --show option which is the default
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: William Poteat
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: 771748
TreeView+ depends on / blocked
 
Reported: 2012-04-12 22:16 UTC by Bryan Kearney
Modified: 2021-04-27 15:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-08 03:50:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0033 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-01-08 08:38:27 UTC

Description Bryan Kearney 2012-04-12 22:16:05 UTC
The defailt action for release is to show the current release. With other commands, we do this by having a -- sub command and listing it as default.

Please add the --show command and note in the help that this is the default.

Comment 1 RHEL Program Management 2012-04-17 02:08:51 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 2 William Poteat 2012-05-14 17:21:25 UTC
master commit e2f3f590df844a9bee23dc7d4ac284ff61fd1ca3

Comment 3 J.C. Molet 2012-06-19 16:22:13 UTC
Tested on:

subscription-manager-1.0.4-1.git.3.1768f90.el5

[root@jmolet-vm0 ~]# diff <(subscription-manager release) <(subscription-manager release --show)
[root@jmolet-vm0 ~]# 
#no output
[root@jmolet-vm0 ~]# subscription-manager release
Release not set

subscription-manager release and release --show do the same thing now.

marking VERIFIED.

Comment 6 errata-xmlrpc 2013-01-08 03:50:32 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-0033.html


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