RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 613650 - typo/grammar in output from subscription-manager-cli --help commands
Summary: typo/grammar in output from subscription-manager-cli --help commands
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.1
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Pradeep Kilambi
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks: 568421
TreeView+ depends on / blocked
 
Reported: 2010-07-12 13:59 UTC by John Sefler
Modified: 2011-05-19 13:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 13:37:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0611 0 normal SHIPPED_LIVE new package: subscription-manager 2011-05-18 17:56:21 UTC

Description John Sefler 2010-07-12 13:59:47 UTC
Description of problem:
typo/grammar fixes needed in output from subscription-manager-cli --help commands


Version-Release number of selected component (if applicable):
[root@jsefler-rhel6-clientpin tmp]# rpm -q subscription-manager
subscription-manager-0.68-1.el6.i686


How reproducible:


Steps to Reproduce:
[root@jsefler-rhel6-clientpin tmp]# subscription-manager-cli register -h | grep type
  --type=CONSUMERTYPE   The type of consumer to create. Defaults to sytem

Expected results:
"sytem" should be "system"

Additional info:
What other "types" are there?

Comment 1 John Sefler 2010-07-12 14:14:48 UTC
[root@jsefler-rhel6-clientpin tmp]# subscription-manager-cli subscribe -h | grep actication
  --email=EMAIL        Optional email address to notify when token actication
                       token actication is complete. Used with --regtoken and

Expected results:
"actication" should probably be "activation"

Comment 2 John Sefler 2010-07-12 15:38:53 UTC
[root@jsefler-rhel6-clientpin tmp]#  echo -e "null\nfacts\nlist\nregister\nsubscribe\nunregister\nunsubscribe" | xargs -i[] subscription-manager-cli [] -h | grep Usage
Usage: subscription-manager-cli [options] MODULENAME --help
Usage: subscription-manager-cli facts [options]
Usage: subscription-manager-cli list [OPTIONS]
Usage: subscription-manager-cli register [OPTIONS]
Usage: subscription-manager-cli subscribe [OPTIONS]
Usage: subscription-manager-cli unregister [OPTIONS]
Usage: subscription-manager-cli unsubscribe [OPTIONS]


Be consistent with the capitalization of the word [options].

Comment 3 John Sefler 2010-07-12 19:15:08 UTC
[root@jsefler-rhel6-clientpin tmp]# subscription-manager-cli register --username= --password=
Error: username and password are required to register,try --help.


Put a space between "register,try" to "register, try"

Comment 4 John Sefler 2010-07-13 19:11:21 UTC
# subscription-manager-cli subscribe
Error: Need either --product or --regtoken, Try --help

> Shouldn't this error message include --pool?

Error: must subscribe with a --pool, --product, or --regtoken option.  Try subscribe --help.


> To be consistent, the message referenced in comment 3 should probably be:

Error: must register with --username and --password options.  Try register --help.

Comment 5 Bryan Kearney 2010-07-22 00:20:11 UTC
Resolved in 92df6cbff6f9c5218eaf526850a85b4dd0d66671.

Comment 6 John Sefler 2010-07-28 15:02:47 UTC
# ./subscription-manager-cli register --help | grep  -- --name
  --name=CONSUMERNAME   name of the consuemr to create. Defaults to the

                                    ^^^^^^^^
                                    consumer


[root@jsefler-rhel6-clientpin src]# ./subscription-manager-cli register --help | grep create
  --type=CONSUMERTYPE   the type of consumer to create. Defaults to system
  --name=CONSUMERNAME   name of the consuemr to create. Defaults to the

                                                ^^^^^^ create?
                                                shouldn't this be "register"

Comment 7 Bryan Kearney 2010-09-10 17:07:06 UTC
consuemr was no longer in code. Changed create to register. 50040accc414e466bfcabd9366412ae737ba3d1a

Comment 8 John Sefler 2010-09-10 18:13:05 UTC
VERSION:
[root@jsefler-rhel6-client01 ~]# rpm -q subscription-manager
subscription-manager-0.77-1.git.4.cc545da.fc12.i386



[root@jsefler-rhel6-client01 ~]# subscription-manager-cli register -h 
Usage: subscription-manager-cli register [OPTIONS]

register

Options:
  -h, --help            show this help message and exit
  --debug=DEBUG         debug level
  --username=USERNAME   specify a username
  --type=CONSUMERTYPE   the type of consumer to register. Defaults to system
  --name=CONSUMERNAME   name of the consumer to register. Defaults to the
                        username.
  --password=PASSWORD   specify a password
  --consumerid=CONSUMERID
                        register to an existing consumer
  --autosubscribe       automatically subscribe this system to
                        compatible subscriptions.
  --force               register the system even if it is already registered

[root@jsefler-rhel6-client01 ~]# subscription-manager-cli subscribe
Error: Need either --pool or --regtoken, Try subscribe --help

[root@jsefler-rhel6-client01 ~]# subscription-manager-cli subscribe --help
Usage: subscription-manager-cli subscribe [OPTIONS]

subscribe

Options:
  -h, --help           show this help message and exit
  --debug=DEBUG        debug level
  --regtoken=REGTOKEN  regtoken
  --pool=POOL          subscription pool id
  --email=EMAIL        optional email address to notify when token activation
                       is complete. Used with --regtoken only
  --locale=LOCALE      optional language to use for email notification when
                       token activation is complete. Used with --regtoken and
                       --email only. Examples: en-us, de-de


[root@jsefler-rhel6-client01 ~]# echo -e "null\nfacts\nlist\nregister\nsubscribe\nunregister\nunsubscribe" | xargs -i[] subscription-manager-cli [] -h | grep Usage
Usage: subscription-manager-cli [options] MODULENAME --help
Usage: subscription-manager-cli facts [OPTIONS]
Usage: subscription-manager-cli list [OPTIONS]
Usage: subscription-manager-cli register [OPTIONS]
Usage: subscription-manager-cli subscribe [OPTIONS]
Usage: subscription-manager-cli unregister [OPTIONS]
Usage: subscription-manager-cli unsubscribe [OPTIONS]

[root@jsefler-rhel6-client01 ~]# subscription-manager-cli register
Error: username and password are required to register, try register --help.

[root@jsefler-rhel6-client01 ~]# subscription-manager-cli subscribe
Error: Need either --pool or --regtoken, Try subscribe --help


moving to VERIFIED

Comment 9 Corey Welton 2010-09-13 20:45:53 UTC
Hmm, this somehow got changed from an RHQ bug to something else.  reclassifying as verified, removing all jon/rhq info.

Comment 10 errata-xmlrpc 2011-05-19 13:37:40 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0611.html


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