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 Jul 13, 2020
1 parent 884edc5 commit a9f7035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -405,7 +405,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 a9f7035

Please sign in to comment.