Add help support for subcommands

Bug #1213050 reported by Jiří Stránský
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-tuskarclient
Fix Released
Medium
Petr Blaho

Bug Description

Currently we have help for the top-level tuskar command but not for subcommands.

Changed in python-tuskarclient:
importance: Undecided → Medium
Changed in python-tuskarclient:
status: New → Triaged
Petr Blaho (pblaho)
Changed in python-tuskarclient:
assignee: nobody → Petr Blaho (pblaho)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tuskarclient (master)

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

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

Reviewed: https://review.openstack.org/56257
Committed: https://git.openstack.org/cgit/openstack/python-tuskarclient/commit/?id=6c06cbcf01914156d09be92b38148ff20e89b92b
Submitter: Jenkins
Branch: master

commit 6c06cbcf01914156d09be92b38148ff20e89b92b
Author: Petr Blaho <email address hidden>
Date: Wed Nov 13 18:22:01 2013 +0100

    Adds help for subcommands

    Adds help subcommand which takes other subcommands as param.
    Adds -h/--help option for subcommands.

    This contains integration testing code for tuskar CLI.
    Following tests are implemented:
    o bare help command
    o help command with bad parameter
    o help command with -h / --help parameter
    o set of tests for "help <command>", "<command> -h / --help" for following
    commands:
      - flavor-create
      - flavor-delete
      - flavor-list
      - flavor-show
      - flavor-update
      - rack-create
      - rack-delete
      - rack-list
      - rack-show
      - rack-update

    Fixes bug in tests/test_shell.py - {} -> []

    Fixes bug: 1213050

    Change-Id: Ic554198f4fb4cdbaeefb9831c15f969301a7be87

Changed in python-tuskarclient:
status: In Progress → Fix Committed
Changed in python-tuskarclient:
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.