Skip to content

Commit 92d2f8f

Browse files
committed
Update expected help text.
1 parent cd8e9cd commit 92d2f8f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

tests/test_source_cli.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff 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
476477
driver 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

0 commit comments

Comments
 (0)