Bug 1267014

Summary: bash completion for rhsm-debug system should no longer show "--no-subscriptions" and "--subscriptions"
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED WORKSFORME QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.2   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-28 20:57:19 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:

Description John Sefler 2015-09-28 20:05:07 UTC
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 20:57:19 UTC
Ooops.  I forgot to restart my bash terminal.  After restarting, I get the expected bash-completeion