Bug 1267014 - bash completion for rhsm-debug system should no longer show "--no-subscriptions" and "--subscriptions"
bash completion for rhsm-debug system should no longer show "--no-subscriptio...
Status: CLOSED WORKSFORME
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager (Show other bugs)
7.2
Unspecified Unspecified
unspecified Severity low
: rc
: ---
Assigned To: candlepin-bugs
John Sefler
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-28 16:05 EDT by John Sefler
Modified: 2015-09-28 16:57 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-09-28 16:57:19 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Sefler 2015-09-28 16:05:07 EDT
Description of problem:
As a result of bug 1246680, the collection of subscriptions.json has been removed and the options in rhsm-debug system to request the collection (or not) of subscriptions has been removed from rhsm-debug and its help docs.

One remaining task is to remove the bash completion of "--no-subscriptions" and "--subscriptions"


Version-Release number of selected component (if applicable):
[root@jsefler-7 ~]# rpm -q subscription-manager
subscription-manager-1.15.9-12.git.0.6a471d5.el7.x86_64

How reproducible:


Steps to Reproduce:
[root@jsefler-7 ~]# rhsm-debug system --help
Usage: rhsm-debug system [OPTIONS] 

Assemble system information as a tar file or directory

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
  --destination=DESTINATION
                        the destination location of the result; default is
                        /tmp
  --no-archive          data will be in an uncompressed directory
  --sos                 only data not already included in sos report will be
                        collected
[root@jsefler-7 ~]# 
[root@jsefler-7 ~]# rhsm-debug system --
--destination       --no-subscriptions  --proxyuser         
--help              --proxy             --sos               
--no-archive        --proxypassword     --subscriptions  



Actual results:
  above (--no-subscriptions and --subscriptions are no longer wanted.  In fact, they are ignored for script compatibility purposes)

Expected results:
--destination       --proxyuser         --sos
--help              --proxy
--no-archive        --proxypassword
Comment 1 John Sefler 2015-09-28 16:57:19 EDT
Ooops.  I forgot to restart my bash terminal.  After restarting, I get the expected bash-completeion

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