print_help () usage: [-h] [--foo FOO] bar positional arguments: bar optional arguments: -h, --help show this help message and exit --foo FOO An alternative name can be specified with metavar : >>> parser = argparse.
add_argument ( '--foo', nargs = 2, metavar = ( 'bar', 'baz' )) >>> parser.