Back to index

python3.2  3.2.2
Static Public Attributes
test.test_argparse.TestHelpBiggerOptionalGroups Class Reference
Collaboration diagram for test.test_argparse.TestHelpBiggerOptionalGroups:
Collaboration graph

List of all members.

Static Public Attributes

tuple parser_signature
list argument_signatures
list argument_group_signatures
string usage
string help
string version

Detailed Description

Make sure that argument help aligns when options are longer

Definition at line 2941 of file

Member Data Documentation

Initial value:
        (Sig('GROUP TITLE', description='GROUP DESCRIPTION'), [
            Sig('baz', help='BAZ HELP'),
            Sig('-z', nargs='+', help='Z HELP')]),

Definition at line 2952 of file

Initial value:
        Sig('-x', action='store_true', help='X HELP'),
        Sig('--y', help='Y HELP'),
        Sig('foo', help='FOO HELP'),
        Sig('bar', help='BAR HELP'),

Definition at line 2946 of file

Initial value:


    positional arguments:
      foo            FOO HELP
      bar            BAR HELP

    optional arguments:
      -h, --help     show this help message and exit
      -v, --version  show program's version number and exit
      -x             X HELP
      --y Y          Y HELP


      baz            BAZ HELP
      -z Z [Z ...]   Z HELP


Definition at line 2960 of file

Initial value:
Sig(prog='PROG', description='DESCRIPTION',
                           epilog='EPILOG', version='0.1')

Definition at line 2944 of file

Initial value:
    usage: PROG [-h] [-v] [-x] [--y Y] [-z Z [Z ...]] foo bar baz

Definition at line 2957 of file

Initial value:

Definition at line 2982 of file

The documentation for this class was generated from the following file: