bash_completion shows options also when sub-command is "help"

Bug #1399747 reported by yatin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Undecided
yatin

Bug Description

bash_completion shows both options and subcommands when subcommand is "help". It should not show the options.
ex:
cinder <TAB><TAB> // Shows both Options and subcommands
cinder help <TAB><TAB> //Shows both Options and subommands, here only subcommands should be shown.

yatin (yatinkarel)
Changed in python-cinderclient:
assignee: nobody → yatin (yatinkarel)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-cinderclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/139703

yatin (yatinkarel)
Changed in python-cinderclient:
status: In Progress → Fix Committed
yatin (yatinkarel)
Changed in python-cinderclient:
status: Fix Committed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cinderclient (master)

Reviewed: https://review.openstack.org/139703
Committed: https://git.openstack.org/cgit/openstack/python-cinderclient/commit/?id=e2afc016b248cf618a7076ecac492c4496e1e54c
Submitter: Jenkins
Branch: master

commit e2afc016b248cf618a7076ecac492c4496e1e54c
Author: yatin karel <email address hidden>
Date: Fri Dec 5 23:49:42 2014 +0530

    bash_completion now shows only subcommands when subcommand is "help"

    Options and subcommands are filtered. Now Only subcommands are shown
    when subcommands is "help". Both subcommands and options are shown
    when subcommand is other than "help"

    Change-Id: Iad9def1b2909af33fd23b0c89559b8de30fa6547
    Closes-Bug: #1399747

Changed in python-cinderclient:
status: In Progress → Fix Committed
Changed in python-cinderclient:
milestone: none → 1.3.1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.