diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-06-11 04:22:10 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-06-11 04:22:10 +0000 |
commit | 13d8666862b271600bc50fa4466e62f68cf251d3 (patch) | |
tree | e6f5abcb21630bf94a419ff8308da1ce959f2683 | |
parent | a48272cb2dfc39d96cbf9f4ba26cee8745720deb (diff) | |
parent | 12d484160c3b3367bd2cfc6eeb5f6ec7669252a6 (diff) | |
download | python-troveclient-13d8666862b271600bc50fa4466e62f68cf251d3.tar.gz |
Merge "Overwrite HelpFormatter constructur to extend argument column"
-rw-r--r-- | troveclient/shell.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/troveclient/shell.py b/troveclient/shell.py index 46bbf2d..7e21817 100644 --- a/troveclient/shell.py +++ b/troveclient/shell.py @@ -501,6 +501,11 @@ class OpenStackTroveShell(object): # I'm picky about my shell help. class OpenStackHelpFormatter(argparse.HelpFormatter): + def __init__(self, prog, indent_increment=2, max_help_position=34, + width=None): + super(OpenStackHelpFormatter, self).__init__(prog, indent_increment, + max_help_position, width) + def start_section(self, heading): # Title-case the headings heading = '%s%s' % (heading[0].upper(), heading[1:]) |