File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -469,16 +469,17 @@ class Car(BaseSettings, cli_parse_args=True):
469469 assert (
470470 capsys .readouterr ().out
471471 == f"""usage: example.py [-h] [--driver JSON] [--driver.meow str] [--driver.bark str]
472+ [--driver.caww str] [--driver.tweet str]
472473
473474{ ARGPARSE_OPTIONS_TEXT } :
474- -h, --help show this help message and exit
475+ -h, --help show this help message and exit
475476
476477driver options:
477- --driver JSON set driver from JSON string
478- --driver.meow str (default: purr)
479- --driver.bark str (default: bark)
480- --driver.caww str (default: caww)
481- --driver.tweet str (ifdef: required)
478+ --driver JSON set driver from JSON string
479+ --driver.meow str (default: purr)
480+ --driver.bark str (default: bark)
481+ --driver.caww str (default: caww)
482+ --driver.tweet str (ifdef: required)
482483"""
483484 )
484485
You can’t perform that action at this time.
0 commit comments