import argparse parser = argparse.ArgumentParser(description="'Ello, Miss", prog='The Pet Shoppe') parser.add_argument('--ex', required=True, action='store_true', help="If you suspect 'e's no more.") parser.add_argument('plumage', help='Describe his lovely plumage') parser.print_help() """ Expected Output: usage: The Pet Shoppe [-h] --ex plumage 'Ello, Miss positional arguments: plumage Describe his lovely plumage switches: -h, --help show this help message and exit --ex If you suspect 'e's no more. """