Skip to content

Commit

Permalink
fix(node_manager): do not use delimiter for env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandSherwin committed Jan 20, 2025
1 parent 654d0a8 commit f7b3521
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ant-node-manager/src/bin/cli/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ pub enum SubCmd {
/// Useful to set log levels. Variables should be comma separated without spaces.
///
/// Example: --env ANT_LOG=all,RUST_LOG=libp2p=debug
#[clap(name = "env", long, use_value_delimiter = true, value_parser = parse_environment_variables)]
#[clap(name = "env", long, use_value_delimiter = false, value_parser = parse_environment_variables)]
env_variables: Option<Vec<(String, String)>>,
/// Specify what EVM network to use for payments.
#[command(subcommand)]
Expand Down Expand Up @@ -426,7 +426,7 @@ pub enum SubCmd {
/// spaces.
///
/// Example: --env ANT_LOG=all,RUST_LOG=libp2p=debug
#[clap(name = "env", long, use_value_delimiter = true, value_parser = parse_environment_variables)]
#[clap(name = "env", long, use_value_delimiter = false, value_parser = parse_environment_variables)]
env_variables: Option<Vec<(String, String)>>,
/// Set this flag to force the upgrade command to replace binaries without comparing any
/// version numbers.
Expand Down Expand Up @@ -488,7 +488,7 @@ pub enum AuditorSubCmd {
/// Useful to set log levels. Variables should be comma separated without spaces.
///
/// Example: --env ANT_LOG=all,RUST_LOG=libp2p=debug
#[clap(name = "env", long, use_value_delimiter = true, value_parser = parse_environment_variables)]
#[clap(name = "env", long, use_value_delimiter = false, value_parser = parse_environment_variables)]
env_variables: Option<Vec<(String, String)>>,
/// Provide the path for the log directory for the auditor.
///
Expand Down Expand Up @@ -555,7 +555,7 @@ pub enum AuditorSubCmd {
/// Useful to set log levels. Variables should be comma separated without spaces.
///
/// Example: --env ANT_LOG=all,RUST_LOG=libp2p=debug
#[clap(name = "env", long, use_value_delimiter = true, value_parser = parse_environment_variables)]
#[clap(name = "env", long, use_value_delimiter = false, value_parser = parse_environment_variables)]
env_variables: Option<Vec<(String, String)>>,
/// Provide a binary to upgrade to using a URL.
///
Expand Down Expand Up @@ -595,7 +595,7 @@ pub enum DaemonSubCmd {
/// Useful to set log levels. Variables should be comma separated without spaces.
///
/// Example: --env ANT_LOG=all,RUST_LOG=libp2p=debug
#[clap(name = "env", long, use_value_delimiter = true, value_parser = parse_environment_variables)]
#[clap(name = "env", long, use_value_delimiter = false, value_parser = parse_environment_variables)]
env_variables: Option<Vec<(String, String)>>,
/// Specify a port for the daemon to listen on.
#[clap(long, default_value_t = 12500)]
Expand Down Expand Up @@ -652,7 +652,7 @@ pub enum FaucetSubCmd {
/// Useful to set log levels. Variables should be comma separated without spaces.
///
/// Example: --env ANT_LOG=all,RUST_LOG=libp2p=debug
#[clap(name = "env", long, use_value_delimiter = true, value_parser = parse_environment_variables)]
#[clap(name = "env", long, use_value_delimiter = false, value_parser = parse_environment_variables)]
env_variables: Option<Vec<(String, String)>>,
/// Provide the path for the log directory for the faucet.
///
Expand Down Expand Up @@ -719,7 +719,7 @@ pub enum FaucetSubCmd {
/// Useful to set log levels. Variables should be comma separated without spaces.
///
/// Example: --env ANT_LOG=all,RUST_LOG=libp2p=debug
#[clap(name = "env", long, use_value_delimiter = true, value_parser = parse_environment_variables)]
#[clap(name = "env", long, use_value_delimiter = false, value_parser = parse_environment_variables)]
env_variables: Option<Vec<(String, String)>>,
/// Provide a binary to upgrade to using a URL.
///
Expand Down

0 comments on commit f7b3521

Please sign in to comment.