From 8c68f90280831032dc81a25fe3f60c6145ba1d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marijan=20Petri=C4=8Devi=C4=87?= Date: Thu, 25 Jul 2024 12:05:47 +0200 Subject: [PATCH] kairos-cli: make short args distinct, fixes #166 --- kairos-cli/src/commands/fetch.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kairos-cli/src/commands/fetch.rs b/kairos-cli/src/commands/fetch.rs index 9d146c48..25cd6108 100644 --- a/kairos-cli/src/commands/fetch.rs +++ b/kairos-cli/src/commands/fetch.rs @@ -11,17 +11,17 @@ use chrono::NaiveDateTime; pub struct Args { #[arg(long, short, value_name = "PUBLIC_KEY_HEX")] sender: Option, - #[arg(long, short, value_name = "ISO8601_TIMESTAMP")] + #[arg(long, short = 't', value_name = "ISO8601_TIMESTAMP")] min_timestamp: Option, - #[arg(long, short, value_name = "ISO8601_TIMESTAMP")] + #[arg(long, short = 'T', value_name = "ISO8601_TIMESTAMP")] max_timestamp: Option, - #[arg(long, short, value_name = "NUM_MOTES")] + #[arg(long, short = 'm', value_name = "NUM_MOTES")] min_amount: Option, - #[arg(long, short, value_name = "NUM_MOTES")] + #[arg(long, short = 'M', value_name = "NUM_MOTES")] max_amount: Option, #[arg(long, short, value_name = "PUBLIC_KEY_HEX")] recipient: Option, - #[arg(long, short, value_name = "TRANSACTION_TYPE", value_enum)] + #[arg(long, short = 'x', value_name = "TRANSACTION_TYPE", value_enum)] transaction_type: Option, }