Skip to content

Commit 6f9fa99

Browse files
committed
docs: make behavior of multiple directories more clear
1 parent 7c90168 commit 6f9fa99

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

confpiler_cli/src/cli.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,11 @@ pub struct CommonConfigArgs {
107107
/// corresponding to the specified ENVIRONMENT, if any. If no environment
108108
/// is set, ONLY the default is loaded.
109109
///
110-
/// This means that if specifying two or more directories, a directory is
111-
/// processed completely before moving on to the next directory, meaning
112-
/// that configurations specified in a subsequent directory will ALWAYS
113-
/// take precedence.
110+
/// This means that if specifying multiple directories, each directory is
111+
/// processed completely before moving on to the next directory
112+
/// (dir1/default, dir1/ENVIRONMENT, then dir2/default, dir2/ENVIRONMENT),
113+
/// meaning that configurations specified in a subsequent directory will
114+
/// ALWAYS take precedence.
114115
#[clap(required = true, parse(from_os_str))]
115116
pub path: Vec<PathBuf>,
116117

0 commit comments

Comments
 (0)