Bug 795564 - need a carriage return after subscription-manager: error: no such option: --foo
Summary: need a carriage return after subscription-manager: error: no such option: --foo
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Bryan Kearney
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: 738066
TreeView+ depends on / blocked
 
Reported: 2012-02-20 22:21 UTC by John Sefler
Modified: 2012-06-20 13:05 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 13:05:58 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0804 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2012-06-19 19:51:31 UTC

Description John Sefler 2012-02-20 22:21:42 UTC
Description of problem:
When a bad option is specified on the subscription-manager command line, a carriage return is needed after the stderr message


Version-Release number of selected component (if applicable):
[root@jsefler-r63 ~]# rpm -q subscription-manager
subscription-manager-0.99.7-1.git.5.d9e3ff2.el6.x86_64


How reproducible:


Steps to Reproduce:
[root@jsefler-r63 ~]# subscription-manager list --foo
Usage: subscription-manager list [OPTIONS]

subscription-manager: error: no such option: --foo[root@jsefler-r63 ~]# 
                                                  ^ NEED A CARRIAGE RETURN
  
Actual results:


Expected results:


Additional info:

Comment 2 Bryan Kearney 2012-03-05 18:42:09 UTC
fixed in master at 9d78e7f0bf4ebc791b1f30a62f480077ba7ef11a.

Comment 4 Shwetha Kallesh 2012-03-06 07:23:18 UTC
Moving to verified..

RPM used:

[root@dhcp201-162 ~]# rpm -qa | grep subscription-manager 
subscription-manager-firstboot-0.99.8-1.git.22.c4b5c6a.el6.x86_64
subscription-manager-migration-0.99.8-1.git.22.c4b5c6a.el6.x86_64
subscription-manager-gnome-0.99.8-1.git.22.c4b5c6a.el6.x86_64
subscription-manager-debuginfo-0.99.8-1.el6.x86_64
subscription-manager-0.99.8-1.git.22.c4b5c6a.el6.x86_64
subscription-manager-migration-data-1.12.1-1.git.5.4a24dad.el6.noarch


[root@dhcp201-162 ~]#  subscription-manager list --foo
Usage: subscription-manager list [OPTIONS]

subscription-manager: error: no such option: --foo
[root@dhcp201-162 ~]#

Comment 6 errata-xmlrpc 2012-06-20 13:05:58 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-2012-0804.html


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