From e52157b98b8fee8ace164d8b7158ffa2a043a778 Mon Sep 17 00:00:00 2001 From: DimAn Date: Tue, 26 Apr 2022 22:21:07 +0300 Subject: [PATCH] keygen: fix debug build after migration to clap-v3-utils (#24686) --- keygen/src/keygen.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/keygen/src/keygen.rs b/keygen/src/keygen.rs index d352927972..953c9153bc 100644 --- a/keygen/src/keygen.rs +++ b/keygen/src/keygen.rs @@ -104,7 +104,6 @@ fn no_passphrase_arg<'a>() -> Arg<'a> { fn no_outfile_arg<'a>() -> Arg<'a> { Arg::new(NO_OUTFILE_ARG.name) .long(NO_OUTFILE_ARG.long) - .conflicts_with_all(&["outfile", "silent"]) .help(NO_OUTFILE_ARG.help) } @@ -391,7 +390,9 @@ fn main() -> Result<(), Box> { .help("Do not display seed phrase. Useful when piping output to other programs that prompt for user input, like gpg"), ) .key_generation_common_args() - .arg(no_outfile_arg()) + .arg(no_outfile_arg() + .conflicts_with_all(&["outfile", "silent"]) + ) ) .subcommand( Command::new("grind")