Skip to content

Commit

Permalink
Fix missing word in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
libklein committed Apr 26, 2024
1 parent 03558cb commit e54193b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/tutorial/multiple-values/multiple-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,11 @@ The sum is 9.5

## Passing multiple values in a single argument

Many users expect to be able to pass multiple arguments with a single .
**Typer** supports this with the `separator` option for `typing.List[T]` types:
Many users expect to be able to pass multiple arguments with a single option.
**Typer** supports this with the `separator` option for `typing.List[T]` types.
This feature makes it easy to parse multiple values from a single command-line argument into a list in your application.

To use this feature, define a command-line option that accepts multiple values separated by a specific character (such as a comma). Here's an example of how to implement this:

=== "Python 3.7+"

Expand Down

0 comments on commit e54193b

Please sign in to comment.