diff --git a/docs_src/multiple_values/options_with_multiple_values/tutorial001_py39.py b/docs_src/multiple_values/options_with_multiple_values/tutorial001_py39.py index f21e794102..d007c76375 100644 --- a/docs_src/multiple_values/options_with_multiple_values/tutorial001_py39.py +++ b/docs_src/multiple_values/options_with_multiple_values/tutorial001_py39.py @@ -1,3 +1,16 @@ +""" +This example shows how to define a Typer option that accepts multiple values +using a tuple type hint. + +The --user option expects exactly three values, in this order: +1. username (str) +2. coins (int) +3. is_wizard (bool) + +Example usage: +python tutorial001_py39.py --user Harry 100 true +""" + import typer app = typer.Typer()