From 8dde489e3a69cf57a9f8d6077993de7a11ee6f0b Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 8 Jun 2022 10:35:06 -0500 Subject: [PATCH] docs(tutorial): Update for new API --- examples/tutorial_builder/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tutorial_builder/README.md b/examples/tutorial_builder/README.md index b0012fb1..3d16270e 100644 --- a/examples/tutorial_builder/README.md +++ b/examples/tutorial_builder/README.md @@ -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