mirror of https://github.com/spf13/cobra.git
Small correction in User Guide (#1009)
This commit is contained in:
parent
3ba5f15ba7
commit
3c84bf8704
|
@ -281,7 +281,7 @@ func init() {
|
|||
|
||||
In this example, the persistent flag `author` is bound with `viper`.
|
||||
**Note**: the variable `author` will not be set to the value from config,
|
||||
when the `--author` flag is not provided by user.
|
||||
when the `--author` flag is provided by user.
|
||||
|
||||
More in [viper documentation](https://github.com/spf13/viper#working-with-flags).
|
||||
|
||||
|
|
Loading…
Reference in New Issue