diff --git a/Cargo.toml b/Cargo.toml index d8ab345..db4f24f 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "Malachite" -version = "1.2.0" +version = "1.3.0" authors = [ "michal " ] edition = "2021" description = "Packaging tool for pacman repositories" diff --git a/src/args.rs b/src/args.rs index 33ef33b..c569353 100644 --- a/src/args.rs +++ b/src/args.rs @@ -25,7 +25,7 @@ pub enum Operation { packages: Vec, /// Builds all packages in mlc.toml (except if -x is specified) - #[clap(long="all", action=ArgAction::Append, takes_value=true, conflicts_with="package(s)")] + #[clap(long="all", takes_value=false, action=ArgAction::SetTrue, conflicts_with="package(s)")] all: bool, /// Excludes packages from given operation @@ -57,7 +57,7 @@ pub enum Operation { packages: Vec, /// Pulls from all git repositories from mlc.toml branching from current directory - #[clap(long="all", action=ArgAction::SetTrue)] + #[clap(long="all", action=ArgAction::SetTrue, conflicts_with="package(s)")] all: bool, },