mirror of
https://github.com/spf13/cobra
synced 2024-12-28 23:37:09 +00:00
*following
This commit is contained in:
parent
cb731b8983
commit
4a7b7e6586
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ More in [viper documentation](https://github.com/spf13/viper#working-with-flags)
|
|||
|
||||
Validation of positional arguments can be specified using the `Args` field.
|
||||
|
||||
The follow validators are built in:
|
||||
The following validators are built in:
|
||||
|
||||
- `NoArgs` - the command will report an error if there are any positional args.
|
||||
- `ArbitraryArgs` - the command will accept any args.
|
||||
|
|
Loading…
Reference in a new issue