File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,11 @@ pub enum WalletSubcommands {
106106 /// Import a private key into an encrypted keystore.
107107 #[ clap( visible_alias = "i" ) ]
108108 Import {
109- #[ clap( help = "The name for the account in the keystore." , value_name = "ACCOUNT_NAME" ) ]
109+ /// The name for the account in the keystore.
110+ #[ clap( value_name = "ACCOUNT_NAME" ) ]
110111 account_name : String ,
112+ /// If provided, keystore will be saved here instead of the default keystores directory
113+ /// (~/.foundry/keystores)
111114 #[ clap( long, short) ]
112115 keystore_dir : Option < String > ,
113116 #[ clap( flatten) ]
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ pub struct Wallet {
100100 ) ]
101101 pub keystore_path : Option < String > ,
102102
103- // Use a keystore from the default folder by its name
103+ /// Use a keystore from the default keystores folder (~/.foundry/keystores) by its filename
104104 #[ clap(
105105 long = "account" ,
106106 help_heading = "Wallet options - keystore" ,
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ pub struct MultiWallet {
153153 ) ]
154154 pub keystore_paths : Option < Vec < String > > ,
155155
156- // Use a keystore from the default folder by its name
156+ /// Use a keystore from the default keystores folder (~/.foundry/keystores) by its filename
157157 #[ clap(
158158 long = "account" ,
159159 visible_alias = "accounts" ,
You can’t perform that action at this time.
0 commit comments