Bug 921222
| Summary: | Tab Completion of commands for modules and optons | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Sharath Dwaral <fsharath> |
| Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED DUPLICATE | QA Contact: | Bryan Kearney <bkearney> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.5 | CC: | alikins, bkearney, jesusr, jgalipea, ovasik |
| Target Milestone: | beta | ||
| Target Release: | 6.5 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-04 13:43:04 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: | 862910 | ||
|
Description
Sharath Dwaral
2013-03-13 18:11:19 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. fixed in subscription-manager 1.8.10-1 Version: # rpm -qa | egrep "subscription-manager|python-rhsm" subscription-manager-migration-data-1.11.3.1-1.git.1.78afd75.el5 subscription-manager-migration-1.8.10-1.git.1.b44c4b1.el5 python-rhsm-1.8.12-1.git.0.d747a65.el5 subscription-manager-firstboot-1.8.10-1.git.1.b44c4b1.el5 subscription-manager-1.8.10-1.git.1.b44c4b1.el5 subscription-manager-gui-1.8.10-1.git.1.b44c4b1.el5 Command: subscription-manager >> "status" does not auto complete (works for all other commands and options) Command: rct >> Works for commands and options Command: rhn-migrate-classic-to-rhsm >> Command "options" do not auto complete Command: rhsmcertd >> Command "options" do not auto complete Command: rhsm-icon >> Command "options" do not auto complete Moving Back to NEW My mistake Commands "rhsmcertd", "rhsm-icon", "rhn-migrate-classic-to-rhsm" tab completes "options" only after "-" is entered. the behavior of this is different from that of "subscription-manager" and "rct" where the options are tab completed without entering a "-" Would prefer the behavior of tab-completion to be the same for all commands Leaving it in NEW d8cd14d64f10e5437a3ef5d710fb1aaf2b91e355 subscription-manager.git Version:
# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-1.8.13-1.el5_9
subscription-manager-migration-1.8.13-1.el5_9
python-rhsm-1.8.13-1.el5_9
subscription-manager-migration-data-1.11.3.1-1.git.1.78afd75.el5
subscription-manager-firstboot-1.8.13-1.el5_9
subscription-manager-debuginfo-1.8.13-1.el5_9
subscription-manager-gui-1.8.13-1.el5_9
Command : subscription-manager
subscription-manager tab completion does not show "status" option
^^^^^^^^
Command : rhsm-icon
rhsm-icon tab completion does not show GTK+ options
^^^^^^^^^^^^
Moving back to NEW
commit bc8e0f04dffdbbf083b6547089e71cc2f6188735
Author: Adrian Likins <alikins>
Date: Mon Jul 22 13:46:58 2013 -0400
921222: add 'status' to bash completion
Moving these to ON_QA. The tooling must have missed moving these. Version:
# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-1.8.16-1.el5
subscription-manager-debuginfo-1.8.16-1.el5
subscription-manager-migration-data-1.11.3.2-1.git.0.14f9d59.el5
subscription-manager-firstboot-1.8.16-1.el5
python-rhsm-1.8.16-1.el5
subscription-manager-migration-1.8.16-1.el5
python-rhsm-debuginfo-1.8.16-1.el5
subscription-manager-gui-1.8.16-1.el5
The below is the result of tab completion of the command.
It can be seen that its provides an option "i--auto" which is not a part of the help menu.
# subscription-manager subscribe
-h --help i--auto --pool --proxy --proxypassword --proxyuser --quantity --servicelevel
Additional information:
# subscription-manager subscribe --help
Usage: subscription-manager subscribe [OPTIONS]
Deprecated, see attach
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
--pool=POOL the ID of the pool to attach (can be specified more
than once)
--quantity=QUANTITY number of subscriptions to attach
--auto automatically attach compatible subscriptions to this
system
--servicelevel=SERVICE_LEVEL
service level to apply to this system
Moving o NEW
This is available as of 1.9.2. Closing this bug in favor of Bug 1001820 The issue in comment 11 is dealt with in the bug mentioned above. *** This bug has been marked as a duplicate of bug 1001820 *** |