Skip to content

Commit e52157b

Browse files
authored
keygen: fix debug build after migration to clap-v3-utils (solana-labs#24686)
1 parent 3007f23 commit e52157b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

keygen/src/keygen.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ fn no_passphrase_arg<'a>() -> Arg<'a> {
104104
fn no_outfile_arg<'a>() -> Arg<'a> {
105105
Arg::new(NO_OUTFILE_ARG.name)
106106
.long(NO_OUTFILE_ARG.long)
107-
.conflicts_with_all(&["outfile", "silent"])
108107
.help(NO_OUTFILE_ARG.help)
109108
}
110109

@@ -391,7 +390,9 @@ fn main() -> Result<(), Box<dyn error::Error>> {
391390
.help("Do not display seed phrase. Useful when piping output to other programs that prompt for user input, like gpg"),
392391
)
393392
.key_generation_common_args()
394-
.arg(no_outfile_arg())
393+
.arg(no_outfile_arg()
394+
.conflicts_with_all(&["outfile", "silent"])
395+
)
395396
)
396397
.subcommand(
397398
Command::new("grind")

0 commit comments

Comments
 (0)