]> git.proxmox.com Git - cargo.git/commitdiff
Call out rule of relative path of `--config KEY=VALUE`
authorWeihang Lo <me@weihanglo.tw>
Tue, 13 Sep 2022 15:46:08 +0000 (16:46 +0100)
committerWeihang Lo <me@weihanglo.tw>
Tue, 13 Sep 2022 15:50:04 +0000 (16:50 +0100)
src/doc/src/reference/config.md

index 48e440ebb76442399fddef5dd14beb62e3b5df72..e9eefc082723598c6fffbf3d4b348dd77e2dba5e 100644 (file)
@@ -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`](#command-line-overrides) 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.