You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/content/user_guide.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -447,6 +447,7 @@ The following validators are built in:
447
447
-`RangeArgs(min, max)` - report an error if the number of args is not between `min` and `max`.
448
448
- Content of the arguments:
449
449
-`OnlyValidArgs` - report an error if there are any positional args not specified in the `ValidArgs` field of `Command`, which can optionally be set to a list of valid values for positional args.
450
+
-`NoDuplicateArgs` - report an error if any positional argument value is provided more than once.
450
451
451
452
If `Args` is undefined or `nil`, it defaults to `ArbitraryArgs`.
0 commit comments