From 9e15181d5d9454e5af4a15cf2ef2f0ff48124515 Mon Sep 17 00:00:00 2001 From: Magic Len Date: Thu, 9 Nov 2023 11:44:53 +0800 Subject: [PATCH] fix cli arg help --- Cargo.toml | 2 +- src/cli.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5506381..2861c39 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xcompress" -version = "0.12.3" +version = "0.12.4" authors = ["Magic Len "] edition = "2021" rust-version = "1.70" diff --git a/src/cli.rs b/src/cli.rs index c5b4f99..86101b3 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -211,7 +211,7 @@ pub struct ExecutablePaths { #[arg(help = "Specify the path of your unlzma executable binary file")] pub unlzma_path: String, - #[arg(name = "7z-path")] + #[arg(name = "7z-path", value_name = "7Z_PATH")] #[arg(long)] #[arg(global = true)] #[arg(default_value = DEFAULT_7Z_PATH)]