Skip to content

Commit

Permalink
replace underscore for hyphen on wallet cli args (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshieDo authored Dec 12, 2021
1 parent 6bbe9b9 commit 910b50f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cli/src/cast_opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,23 +267,23 @@ impl EthereumOpts {

#[derive(StructOpt, Debug, Clone)]
pub struct Wallet {
#[structopt(long = "private_key", help = "Your private key string")]
#[structopt(long = "private-key", help = "Your private key string")]
pub private_key: Option<String>,

#[structopt(long = "keystore", help = "Path to your keystore folder / file")]
pub keystore_path: Option<String>,

#[structopt(long = "password", help = "Your keystore password", requires = "keystore_path")]
#[structopt(long = "password", help = "Your keystore password", requires = "keystore-path")]
pub keystore_password: Option<String>,

#[structopt(long = "mnemonic_path", help = "Path to your mnemonic file")]
#[structopt(long = "mnemonic-path", help = "Path to your mnemonic file")]
pub mnemonic_path: Option<String>,

#[structopt(
long = "mnemonic_index",
help = "your index in the standard hd path",
default_value = "0",
requires = "mnemonic_path"
requires = "mnemonic-path"
)]
pub mnemonic_index: u32,
}
Expand Down

0 comments on commit 910b50f

Please sign in to comment.