Skip to content

Commit

Permalink
fix(cast): use correct description for send (#371)
Browse files Browse the repository at this point in the history
Workaround from:
TeXitoi/structopt#333 (comment)

Co-authored-by: Tim Lancina <[email protected]>
  • Loading branch information
0129general and tlancina committed Jan 5, 2022
1 parent 049a2f3 commit 4045d18
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions cli/src/opts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,16 @@ pub enum WalletType {
}

#[derive(StructOpt, Debug, Clone)]
/// The wallet options can either be:
/// 1. Ledger
/// 2. Trezor
/// 3. Mnemonic (via file path)
/// 4. Keystore (via file path)
/// 5. Private Key (cleartext in CLI)
/// 6. Private Key (interactively via secure prompt)
#[cfg_attr(not(doc), allow(missing_docs))]
#[cfg_attr(doc, doc = r#"
The wallet options can either be:
1. Ledger
2. Trezor
3. Mnemonic (via file path)
4. Keystore (via file path)
5. Private Key (cleartext in CLI)
6. Private Key (interactively via secure prompt)
"#)]
pub struct Wallet {
#[structopt(long, short, help = "Interactive prompt to insert your private key")]
pub interactive: bool,
Expand Down

0 comments on commit 4045d18

Please sign in to comment.