Skip to content

Commit

Permalink
Merge pull request clap-rs#3798 from epage/docs
Browse files Browse the repository at this point in the history
docs(tutorial): Update for new API
  • Loading branch information
epage committed Jun 8, 2022
2 parents 3ded927 + 8dde489 commit 0377051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tutorial_builder/README.md
Expand Up @@ -372,7 +372,7 @@ NAME: "bob"
### Enumerated values

If you have arguments of specific values you want to test for, you can use the
`Arg::possible_values()`.
`PossibleValuesParser` or `Arg::value_parser(["val1", ...])` for short.

This allows you specify the valid values for that argument. If the user does not use one of
those specific values, they will receive a graceful exit with error message informing them
Expand Down

0 comments on commit 0377051

Please sign in to comment.