Skip to content

Commit cb1db3f

Browse files
committed
fix missing bits from help strings
1 parent b0dd564 commit cb1db3f

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

docs/tutorial/arguments/optional.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ $ python main.py --help
135135
Usage: main.py [OPTIONS] [name]
136136

137137
Arguments:
138-
[name]
138+
[name] [default: World]
139139

140140
Options:
141141
--help Show this message and exit.

docs/tutorial/typer-app.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ $ python main.py --help
6666

6767
Usage: main.py [OPTIONS] {name}
6868

69+
Arguments:
70+
name [required]
71+
6972
Options:
7073
--install-completion Install completion for the current shell.
7174
--show-completion Show completion for the current shell, to copy it or customize the installation.

0 commit comments

Comments
 (0)