mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
Small correction in User Guide (#1009)
This commit is contained in:
parent
3ba5f15ba7
commit
3c84bf8704
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue