Skip to content

Commit

Permalink
README: fix link to issue
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbourgon committed Mar 10, 2022
1 parent a16ee69 commit cae782d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,11 @@ type ConfigFileParser func(r io.Reader, set func(name, value string) error) erro
In general, you should call flag.NewFlagSet with the flag.ContinueOnError error
handling strategy, which, somewhat confusingly, is the only way that ff.Parse can
return errors. (The other strategies terminate the program on error. Rude!) This
is [the only way to detect certain types of parse failures][#90], in addition to
is [the only way to detect certain types of parse failures][90], in addition to
being good practice in general.
[90]: https://github.com/peterbourgon/ff/issues/90
## Flags and env vars
One common use case is to allow configuration from both flags and env vars.
Expand Down

0 comments on commit cae782d

Please sign in to comment.