Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion cli/src/cmd/cast/wallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,11 @@ pub enum WalletSubcommands {
/// Import a private key into an encrypted keystore.
#[clap(visible_alias = "i")]
Import {
#[clap(help = "The name for the account in the keystore.", value_name = "ACCOUNT_NAME")]
/// The name for the account in the keystore.
#[clap(value_name = "ACCOUNT_NAME")]
account_name: String,
/// If provided, keystore will be saved here instead of the default keystores directory
/// (~/.foundry/keystores)
#[clap(long, short)]
keystore_dir: Option<String>,
#[clap(flatten)]
Expand Down
2 changes: 1 addition & 1 deletion cli/src/opts/wallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pub struct Wallet {
)]
pub keystore_path: Option<String>,

// Use a keystore from the default folder by its name
/// Use a keystore from the default keystores folder (~/.foundry/keystores) by its filename
#[clap(
long = "account",
help_heading = "Wallet options - keystore",
Expand Down
2 changes: 1 addition & 1 deletion cli/src/opts/wallet/multi_wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ pub struct MultiWallet {
)]
pub keystore_paths: Option<Vec<String>>,

// Use a keystore from the default folder by its name
/// Use a keystore from the default keystores folder (~/.foundry/keystores) by its filename
#[clap(
long = "account",
visible_alias = "accounts",
Expand Down