Skip to content

Commit 09c3974

Browse files
authored
Merge pull request #1867 from dearchap/issue_1866
Docs:(issue_1866) Fix documentation on filepath vs env preference
2 parents 094a9bc + 9f3448a commit 09c3974

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/v2/examples/flags.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -506,8 +506,8 @@ func main() {
506506
}
507507
```
508508

509-
Note that default values set from file (e.g. `FilePath`) take precedence over
510-
default values set from the environment (e.g. `EnvVar`).
509+
Note that default values set from the environment (e.g. `EnvVar`) take precedence over
510+
default values set from file (e.g. `FilePath`).
511511

512512
#### Values from alternate input sources (YAML, TOML, and others)
513513

0 commit comments

Comments
 (0)