From 96def07bc95c3287240fbb0300b6d2fa1d8afcf3 Mon Sep 17 00:00:00 2001 From: ChihWei Wang Date: Thu, 19 May 2022 00:45:58 +0800 Subject: [PATCH] Change option of dup subcommand from '-ht' to 't' (#720) Option 'ht' conflicts with 'h' since the short option should be one char. --- czkawka_cli/src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/czkawka_cli/src/commands.rs b/czkawka_cli/src/commands.rs index b4872b4..926dc9d 100644 --- a/czkawka_cli/src/commands.rs +++ b/czkawka_cli/src/commands.rs @@ -31,7 +31,7 @@ pub enum Commands { search_method: CheckingMethod, #[structopt(short = "D", long, default_value = "NONE", parse(try_from_str = parse_delete_method), help = "Delete method (AEN, AEO, ON, OO, HARD)", long_help = "Methods to delete the files.\nAEN - All files except the newest,\nAEO - All files except the oldest,\nON - Only 1 file, the newest,\nOO - Only 1 file, the oldest\nHARD - create hard link\nNONE - not delete files")] delete_method: DeleteMethod, - #[structopt(short = "ht", long, default_value = "BLAKE3", parse(try_from_str = parse_hash_type), help = "Hash type (BLAKE3, CRC32, XXH3)")] + #[structopt(short = "t", long, default_value = "BLAKE3", parse(try_from_str = parse_hash_type), help = "Hash type (BLAKE3, CRC32, XXH3)")] hash_type: HashType, #[structopt(flatten)] file_to_save: FileToSave,