We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a9748f commit fe611a8Copy full SHA for fe611a8
README.md
@@ -104,7 +104,7 @@ func main() {
104
port = fs.Int("port", 8080, "listen port for server (also via PORT)")
105
debug = fs.Bool("debug", false, "log debug information (also via DEBUG)")
106
)
107
- if err := ff.Parse(fs, os.Args[1:], ff.WithEnvVarNoPrefix()); err != nil {
+ if err := ff.Parse(fs, os.Args[1:], ff.WithEnvVars()); err != nil {
108
fmt.Fprintf(os.Stderr, "error: %v\n", err)
109
os.Exit(1)
110
}
0 commit comments