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 <tlancina@users.noreply.github.com>
  • Loading branch information
charisma98 and tlancina committed Jan 5, 2022
1 parent 161e067 commit 7ba9823
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 7ba9823

Please sign in to comment.