Skip to content

Commit

Permalink
Call out rule of relative path of --config KEY=VALUE
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo committed Sep 13, 2022
1 parent 164a859 commit 9f1baf0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/doc/src/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ Paths for non-executables will be relative to where the config value is defined.
In particular, rules are:

* For environment variables, paths are relative to the current working directory.
* For config values loaded directly from the `--config KEY=VALUE` option,
paths are relative to the current working directory.
* For config files, paths are relative to the parent directory of the directory where the config files were defined,
no matter those files are from either the [hierarchical probing](#hierarchical-structure)
or the [`--config <path>`](#command-line-overrides) option.
Expand Down

0 comments on commit 9f1baf0

Please sign in to comment.