diff --git a/README.md b/README.md index 4ed55e7..193a07b 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ func main() { port = fs.Int("port", 8080, "listen port for server (also via PORT)") debug = fs.Bool("debug", false, "log debug information (also via DEBUG)") ) - if err := ff.Parse(fs, os.Args[1:], ff.WithEnvVars()); err != nil { + if err := ff.Parse(fs, os.Args[1:], ff.WithEnvVarNoPrefix()); err != nil { fmt.Fprintf(os.Stderr, "error: %v\n", err) os.Exit(1) }