From 7d80d886acb5a5205a1a67b8dd8ff6c5472e6d49 Mon Sep 17 00:00:00 2001 From: trivernis Date: Tue, 3 May 2022 18:52:03 +0200 Subject: [PATCH] Add x alias to extract command Signed-off-by: trivernis --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/bin/uarch.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 775a405..8601742 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -845,7 +845,7 @@ checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" [[package]] name = "universal-archiver" -version = "0.2.0" +version = "0.2.1" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 694881b..fb431e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "universal-archiver" description = "A tool to unpack archives without having to specify the archive type." repository = "https://github.com/Trivernis/universal-archiver.git" authors = ["Trivernis "] -version = "0.2.0" +version = "0.2.1" edition = "2021" keywords = ["compression", "extract-archive", "archiver", "cli"] license = "MIT" diff --git a/src/bin/uarch.rs b/src/bin/uarch.rs index 3457253..6bc5012 100644 --- a/src/bin/uarch.rs +++ b/src/bin/uarch.rs @@ -16,6 +16,7 @@ struct Args { #[derive(Debug, Clone, Subcommand)] pub enum Operation { /// Extracts a given file + #[clap(aliases=&["x"])] Extract { /// The file to extract file: PathBuf,