Skip to content

Commit

Permalink
Small correction in User Guide (spf13#1009)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickolasHKraus authored and umarcor committed Nov 5, 2021
1 parent a277968 commit f1ad20f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_guide.md
Expand Up @@ -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).

Expand Down

0 comments on commit f1ad20f

Please sign in to comment.