diff --git a/relay/src/cli.rs b/relay/src/cli.rs index 6040e93e78..012f20056b 100644 --- a/relay/src/cli.rs +++ b/relay/src/cli.rs @@ -97,7 +97,7 @@ pub fn extract_config_args(matches: &ArgMatches) -> OverridableConfig { secret_key: matches.get_one("secret_key").cloned(), outcome_source: matches.get_one("source_id").cloned(), shutdown_timeout: matches.get_one("shutdown_timeout").cloned(), - deployment: matches.get_one("environment").cloned(), + deployment: matches.get_one("deployment").cloned(), } } diff --git a/relay/src/cliapp.rs b/relay/src/cliapp.rs index 70ced02b28..fc596efbe5 100644 --- a/relay/src/cliapp.rs +++ b/relay/src/cliapp.rs @@ -142,9 +142,9 @@ pub fn make_app() -> Command { ), ) .arg( - Arg::new("environment") - .long("environment") - .help("The environment in which Relay is run.") + Arg::new("deployment") + .long("deployment") + .help("The deployment type of this Relay.") ) ) .subcommand(