Back to index

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

List of all members.

Static Public Attributes

tuple parser_signature = Sig(prog='PROG', version='1.0')
list argument_signatures
list argument_group_signatures = []
string usage
string help
string version

Detailed Description

Test that the --version argument can be suppressed help messages

Definition at line 3715 of file

Member Data Documentation

Definition at line 3723 of file

Initial value:
        Sig('--foo', help='foo help'),
        Sig('spam', help='spam help'),

Definition at line 3719 of file

Initial value:

    positional arguments:
      spam           spam help

    optional arguments:
      -h, --help     show this help message and exit
      -v, --version  show program's version number and exit
      --foo FOO      foo help

Definition at line 3727 of file

Definition at line 3718 of file

Initial value:
    usage: PROG [-h] [-v] [--foo FOO] spam

Definition at line 3724 of file

Initial value:

Definition at line 3737 of file

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