Merge pull request #3798 from epage/docs

docs(tutorial): Update for new API
This commit is contained in:
Ed Page 2022-06-08 10:57:03 -05:00 committed by GitHub
commit 0377051353
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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