diff --git a/src/config.rs b/src/config.rs index 638e1a56..b7a3b7f4 100644 --- a/src/config.rs +++ b/src/config.rs @@ -390,11 +390,11 @@ pub struct CommandLineArgs { no_retry: bool, /// Do not perform upgrades for the given steps - #[clap(long = "disable", arg_enum)] + #[clap(long = "disable", arg_enum, multiple_values = true)] disable: Vec, /// Perform only the specified steps (experimental) - #[clap(long = "only", arg_enum)] + #[clap(long = "only", arg_enum, multiple_values = true)] only: Vec, /// Run only specific custom commands @@ -402,7 +402,7 @@ pub struct CommandLineArgs { custom_commands: Vec, /// Set environment variables - #[clap(long = "env")] + #[clap(long = "env", multiple_values = true)] env: Vec, /// Output logs @@ -414,7 +414,7 @@ pub struct CommandLineArgs { keep_at_end: bool, /// Say yes to package manager's prompt - #[clap(short = 'y', long = "yes", arg_enum)] + #[clap(short = 'y', long = "yes", arg_enum, multiple_values = true, min_values = 0)] yes: Option>, /// Don't pull the predefined git repos