Comment 7 for bug 1326471

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-ceilometerclient (master)

Reviewed: https://review.openstack.org/97881
Committed: https://git.openstack.org/cgit/openstack/python-ceilometerclient/commit/?id=d864c23aa84a437d726cd761646b684c520f0281
Submitter: Jenkins
Branch: master

commit d864c23aa84a437d726cd761646b684c520f0281
Author: Christian Berendt <email address hidden>
Date: Wed Jun 4 21:03:42 2014 +0200

    Calculate a suitable column width for positional arguments

    Overwrite the method add_arguments in the class
    OpenStackHelpFormatter to calculate a suitable columnt width
    (max_help_position) for the positional arguments.

    example output before this patch:

        alarm-threshold-create
                            Create a new alarm based on computed statistics.
        alarm-threshold-update
                            Update an existing alarm based on computed statistics.
        alarm-update Update an existing alarm (Deprecated).

    example output after this patch:

        alarm-threshold-create Create a new alarm based on computed statistics.
        alarm-threshold-update Update an existing alarm based on computed
                                  statistics.
        alarm-update Update an existing alarm (Deprecated).

    Change-Id: I945e46bb9e0309b960e3322261d9d6ff9fa35b52
    Closes-Bug: #1326471