Skip to content

Commit

Permalink
small correction in README (spf13#1009)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickolasHKraus authored and umarcor committed Mar 1, 2020
1 parent 15ed74b commit 353f8fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -397,7 +397,7 @@ func init() {

In this example the persistent flag `author` is bound with `viper`.
**Note**, that 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 353f8fd

Please sign in to comment.