Skip to content

Commit

Permalink
Merge pull request #1534 from mintlayer/fix/remove-input-mnemonic-in-…
Browse files Browse the repository at this point in the history
…address-gen

Remove inputting the mnemonic in command line arguments
  • Loading branch information
TheQuantumPhysicist authored Feb 6, 2024
2 parents fdd9b51 + 8e53ec3 commit 0ab7904
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wallet/wallet-address-generator-lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,12 @@ pub struct CliArgs {
pub network: Network,

/// Number of addresses to generate and display
#[clap(long, default_value_t = 1)]
#[clap(long, short = 'n', default_value_t = 1)]
pub address_count: u8,

/// Mnemonic phrase (12, 15, or 24 words as a single quoted argument). If not specified, a new mnemonic phrase is generated and printed.
#[clap(long)]
#[arg(hide = true)]
pub mnemonic: Option<String>,
}

Expand Down

0 comments on commit 0ab7904

Please sign in to comment.