Red Hat Bugzilla – Bug 1004341
subscription-manager-gui does not bash complete its options
Last modified: 2013-11-21 16:28:25 EST
Description of problem: [root@jsefler-6 ~]# subscription-manager-gui --help Usage: subscription-manager-gui [OPTIONS] Options: -h, --help show this help message and exit --register launches the registration dialog on startup The options above do not bash complete when I type: [root@jsefler-6 ~]# subscription-manager-gui -<TAB>TAB> Expected: -h --help --register Version-Release number of selected component (if applicable): [root@jsefler-6 ~]# rpm -q subscription-manager-gui subscription-manager-gui-1.9.5-1.el6.x86_64
commit e64c910cec786ae03f94226cfbdaf5081f46e9a6 Author: ckozak <ckozak@redhat.com> Date: Wed Sep 4 09:30:22 2013 -0400 1004341: add gui completion
Testing Version... [root@jsefler-6 ~]# rpm -q subscription-manager bash-completion subscription-manager-1.9.6-1.el6.x86_64 bash-completion-1.3-7.el6.noarch [root@jsefler-6 ~]# subscription-manager-gui -<TAB><TAB> -h --help --register [root@jsefler-6 ~]# subscription-manager-gui --reg<TAB><TAB> BANG! Instead of completing "--register" it resets to "-" Moving back to ASSIGNED/FailedQA
commit 7fc4b0314f4db72a9540abbecc9447eeb717f634 Author: ckozak <ckozak@redhat.com> Date: Thu Sep 19 16:49:23 2013 -0400 1004341: gui completion no longer resets
fixed in subscription-manager-1.9.6-1
(In reply to Bryan Kearney from comment #5) > fixed in subscription-manager-1.9.6-1 Nope. Still fails in subscription-manager-gui-1.9.7-1.el6.x86_64 Has not yet been cherry picked to RHEL6.5
Version: Tested on stage # subscription-manager version server type: Red Hat Subscription Management subscription management server: Unknown subscription-manager: 1.9.9-1.el6 python-rhsm: 1.9.6-1.el6 # subscription-manager-gui -<TAB><TAB> -h --help --register [root@dhcp129-24 ~]# subscription-manager-gui --<TAB><TAB> --help --register VERIFIED
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-1659.html