fix --help

This commit is contained in:
Astro 2022-10-12 23:27:49 +02:00
parent 9fc38108e5
commit b4cf00629a

View File

@ -64,6 +64,12 @@ fn main() {
.long("hidden")
.help("Recurse into hidden subdirectories and process hidden .*.nix files"),
)
// taken by "HIDDEN"
.disable_help_flag(true)
.arg(Arg::new("help")
.long("help")
.global(true)
.action(ArgAction::Help))
.arg(
Arg::new("FAIL_ON_REPORTS")
.action(ArgAction::SetTrue)