diff --git a/cli/src/cast_opts.rs b/cli/src/cast_opts.rs index 1141189a261a..e3ff59890f93 100644 --- a/cli/src/cast_opts.rs +++ b/cli/src/cast_opts.rs @@ -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, #[structopt(long = "keystore", help = "Path to your keystore folder / file")] pub keystore_path: Option, - #[structopt(long = "password", help = "Your keystore password", requires = "keystore_path")] + #[structopt(long = "password", help = "Your keystore password", requires = "keystore-path")] pub keystore_password: Option, - #[structopt(long = "mnemonic_path", help = "Path to your mnemonic file")] + #[structopt(long = "mnemonic-path", help = "Path to your mnemonic file")] pub mnemonic_path: Option, #[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, }