bugreport arg does not require param

fixes #1466
This commit is contained in:
extrawurst 2022-12-10 01:22:22 +01:00
parent b9b01cd32a
commit 045e9e5f09

View file

@ -104,7 +104,8 @@ fn app() -> ClapApp {
.arg( .arg(
Arg::new("bugreport") Arg::new("bugreport")
.help("Generate a bug report") .help("Generate a bug report")
.long("bugreport"), .long("bugreport")
.num_args(0),
) )
.arg( .arg(
Arg::new("directory") Arg::new("directory")