keygen: fix debug build after migration to clap-v3-utils (#24686)

This commit is contained in:
DimAn 2022-04-26 22:21:07 +03:00 committed by GitHub
parent 3007f233f4
commit e52157b98b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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<dyn error::Error>> {
.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")