Skip to content

Commit

Permalink
kairos-cli: make short args distinct, fixes #166
Browse files Browse the repository at this point in the history
  • Loading branch information
marijanp committed Jul 25, 2024
1 parent 7b5f29d commit 8c68f90
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions kairos-cli/src/commands/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ use chrono::NaiveDateTime;
pub struct Args {
#[arg(long, short, value_name = "PUBLIC_KEY_HEX")]
sender: Option<String>,
#[arg(long, short, value_name = "ISO8601_TIMESTAMP")]
#[arg(long, short = 't', value_name = "ISO8601_TIMESTAMP")]
min_timestamp: Option<NaiveDateTime>,
#[arg(long, short, value_name = "ISO8601_TIMESTAMP")]
#[arg(long, short = 'T', value_name = "ISO8601_TIMESTAMP")]
max_timestamp: Option<NaiveDateTime>,
#[arg(long, short, value_name = "NUM_MOTES")]
#[arg(long, short = 'm', value_name = "NUM_MOTES")]
min_amount: Option<u64>,
#[arg(long, short, value_name = "NUM_MOTES")]
#[arg(long, short = 'M', value_name = "NUM_MOTES")]
max_amount: Option<u64>,
#[arg(long, short, value_name = "PUBLIC_KEY_HEX")]
recipient: Option<String>,
#[arg(long, short, value_name = "TRANSACTION_TYPE", value_enum)]
#[arg(long, short = 'x', value_name = "TRANSACTION_TYPE", value_enum)]
transaction_type: Option<TransactionType>,
}

Expand Down

0 comments on commit 8c68f90

Please sign in to comment.