Skip to content

Commit

Permalink
Merge pull request #38 from cspr-rad/fix-deprecated-function
Browse files Browse the repository at this point in the history
kairos-cli: fix use of deprecated function
  • Loading branch information
marijanp authored Mar 18, 2024
2 parents 2fe12fc + ca0ec09 commit a1b08ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kairos-cli/src/common/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ use clap::Args;

#[derive(Args, Debug)]
pub struct AmountArg {
#[arg(name = "amount", long, short, value_name = "NUM_MOTES")]
#[arg(id = "amount", long, short, value_name = "NUM_MOTES")]
pub field: u64,
}

#[derive(Args, Debug)]
pub struct PrivateKeyPathArg {
#[arg(name = "private-key", long, short = 'k', value_name = "FILE_PATH")]
#[arg(id = "private-key", long, short = 'k', value_name = "FILE_PATH")]
pub field: PathBuf,
}

0 comments on commit a1b08ae

Please sign in to comment.