Skip to content

Commit

Permalink
fix(-S): -w doesn't require arguments
Browse files Browse the repository at this point in the history
Fixes #888
  • Loading branch information
fosskers committed Aug 8, 2024
1 parent 23a15da commit b170040
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- Zsh completions of `-S`.
- `check`: confirm that `dot` is on the system. If missing, it belongs to the `graphviz` package.
- `--noconfirm` now affects all prompts.
- `-Sw` no longer requires arguments. This reenables `-Syuw`.

## 4.0.1

Expand Down
11 changes: 2 additions & 9 deletions rust/aura-pm/src/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,15 +479,8 @@ pub struct Sync {
#[clap(long, short, display_order = 2)]
verbose: bool,
/// Download packages but do not install/upgrade anything.
#[clap(
group = "sync",
long,
short = 'w',
value_name = "packages",
num_args = 1..,
display_order = 1
)]
downloadonly: Vec<String>,
#[clap(long, short = 'w', display_order = 1)]
downloadonly: bool,
/// Download fresh package databases from the server (-yy to force a refresh even if up to date).
#[clap(long, short = 'y', action(ArgAction::Count), display_order = 1)]
refresh: u8,
Expand Down

0 comments on commit b170040

Please sign in to comment.