Skip to content

Commit

Permalink
Merge pull request #168 from cspr-rad/fix-166
Browse files Browse the repository at this point in the history
kairos-cli: make short args distinct, fixes #166
  • Loading branch information
koxu1996 authored Jul 26, 2024
2 parents f961a23 + eac1690 commit 34599df
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 34599df

Please sign in to comment.