summaryrefslogtreecommitdiff
path: root/cli/args/mod.rs
diff options
context:
space:
mode:
authorBirk Skyum <74932975+birkskyum@users.noreply.github.com>2024-08-08 15:50:57 +0200
committerGitHub <noreply@github.com>2024-08-08 06:50:57 -0700
commit4c56353594a53066009393cbd3b8b771f692e565 (patch)
tree081db33e98d77228ddfb818a3bd9f975dce05533 /cli/args/mod.rs
parent1d5927aaf2b932046c8052e6ba08d9cc3a066651 (diff)
feat(cli): Add --env-file as alternative to --env (#24555)
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r--cli/args/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs
index ddfdb95c4..bd49c0c15 100644
--- a/cli/args/mod.rs
+++ b/cli/args/mod.rs
@@ -1885,7 +1885,7 @@ fn load_env_variables_from_env_file(filename: Option<&String>) {
Err(error) => {
match error {
dotenvy::Error::LineParse(line, index)=> log::info!("{} Parsing failed within the specified environment file: {} at index: {} of the value: {}",colors::yellow("Warning"), env_file_name, index, line),
- dotenvy::Error::Io(_)=> log::info!("{} The `--env` flag was used, but the environment file specified '{}' was not found.",colors::yellow("Warning"),env_file_name),
+ dotenvy::Error::Io(_)=> log::info!("{} The `--env-file` flag was used, but the environment file specified '{}' was not found.",colors::yellow("Warning"),env_file_name),
dotenvy::Error::EnvVar(_)=> log::info!("{} One or more of the environment variables isn't present or not unicode within the specified environment file: {}",colors::yellow("Warning"),env_file_name),
_ => log::info!("{} Unknown failure occurred with the specified environment file: {}", colors::yellow("Warning"), env_file_name),
}