diff --git a/cli/src/cmd/cast/wallet/mod.rs b/cli/src/cmd/cast/wallet/mod.rs index f48c6611bee52..67a8774ca8c81 100644 --- a/cli/src/cmd/cast/wallet/mod.rs +++ b/cli/src/cmd/cast/wallet/mod.rs @@ -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, #[clap(flatten)] diff --git a/cli/src/opts/wallet/mod.rs b/cli/src/opts/wallet/mod.rs index 9cd6e1940f839..d28b0fd82df94 100644 --- a/cli/src/opts/wallet/mod.rs +++ b/cli/src/opts/wallet/mod.rs @@ -100,7 +100,7 @@ pub struct Wallet { )] pub keystore_path: Option, - // 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", diff --git a/cli/src/opts/wallet/multi_wallet.rs b/cli/src/opts/wallet/multi_wallet.rs index 6cd41748fcf18..0f9aa43d5e6ab 100644 --- a/cli/src/opts/wallet/multi_wallet.rs +++ b/cli/src/opts/wallet/multi_wallet.rs @@ -153,7 +153,7 @@ pub struct MultiWallet { )] pub keystore_paths: Option>, - // 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",