From 9a1ffa7fb529b3a6f34a40c00cec19e49838db93 Mon Sep 17 00:00:00 2001 From: Eduard Tolosa Date: Thu, 9 Apr 2020 10:12:40 -0500 Subject: [PATCH] Remove unneeded condition + bump version. --- Cargo.toml | 2 +- src/cli.yml | 12 +----------- src/main.rs | 2 +- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4bd5155..7099e32 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "blackarch-devtools" -version = "0.3.0" +version = "0.4.0" authors = ["Eduard Toloza "] edition = "2018" diff --git a/src/cli.yml b/src/cli.yml index 48f711f..7bcee86 100644 --- a/src/cli.yml +++ b/src/cli.yml @@ -1,5 +1,5 @@ name: blackarch-devtools -version: "0.3.0" +version: "0.4.0" author: Eduard Tolosa about: Development tools for BlackArch Linux settings: @@ -18,21 +18,12 @@ args: takes_value: false conflicts_with: - install-missing - - test: - short: t - long: test - help: Install and test package in clean chroot environment. - takes_value: false - requires: - - package - - executable - package: short: p long: package help: Build package to install in the clean chroot environment. takes_value: true requires: - - test - executable - executable: short: e @@ -41,7 +32,6 @@ args: takes_value: true multiple: true requires: - - test - package - install-missing: short: I diff --git a/src/main.rs b/src/main.rs index 84079fc..3a719a3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,7 +15,7 @@ fn main() { functions::build_package(); } else if matches.is_present("update") { functions::update_chroot_packages(); - } else if matches.is_present("test") { + } else if matches.is_present("package") { let package = matches .value_of("package") .expect("Failed to convert in a valid String")