diff --git a/docs/v2/examples/flags.md b/docs/v2/examples/flags.md index 3da5364634..2e79d3460f 100644 --- a/docs/v2/examples/flags.md +++ b/docs/v2/examples/flags.md @@ -506,8 +506,8 @@ func main() { } ``` -Note that default values set from file (e.g. `FilePath`) take precedence over -default values set from the environment (e.g. `EnvVar`). +Note that default values set from the environment (e.g. `EnvVar`) take precedence over +default values set from file (e.g. `FilePath`). #### Values from alternate input sources (YAML, TOML, and others)