docs(tutorial): Update for new API

This commit is contained in:
Ed Page 2022-06-08 10:35:06 -05:00
parent 3ded927662
commit 8dde489e3a

View file

@ -372,7 +372,7 @@ NAME: "bob"
### Enumerated values ### Enumerated values
If you have arguments of specific values you want to test for, you can use the 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 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 those specific values, they will receive a graceful exit with error message informing them