Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Restore old argument behavior #939

Merged
merged 2 commits into from
May 23, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Has the --disable behaviour changed?
Fixes #933
  • Loading branch information
r-darwish committed May 23, 2022
commit dd3ed4f13a9d1ab654514f28a17b343c3ae09902
8 changes: 4 additions & 4 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,19 +390,19 @@ pub struct CommandLineArgs {
no_retry: bool,

/// Do not perform upgrades for the given steps
#[clap(long = "disable", arg_enum, multiple_values=true,)]
#[clap(long = "disable", arg_enum, multiple_values = true)]
disable: Vec<Step>,

/// Perform only the specified steps (experimental)
#[clap(long = "only", arg_enum, multiple_values=true)]
#[clap(long = "only", arg_enum, multiple_values = true)]
only: Vec<Step>,

/// Run only specific custom commands
#[clap(long = "custom-commands")]
custom_commands: Vec<String>,

/// Set environment variables
#[clap(long = "env", multiple_values=true,)]
#[clap(long = "env", multiple_values = true)]
env: Vec<String>,

/// Output logs
Expand All @@ -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, multiple_values=true, min_values=0)]
#[clap(short = 'y', long = "yes", arg_enum, multiple_values = true, min_values = 0)]
yes: Option<Vec<Step>>,

/// Don't pull the predefined git repos
Expand Down