resolves #1303 : Add support for -t as an alias to --test

This commit is contained in:
Ismaïl BENHALLAM 2023-02-23 00:03:04 +01:00
parent 498fca1da1
commit 0870027b7a
No known key found for this signature in database
GPG Key ID: ED98DD81A1D066C2

View File

@ -350,6 +350,7 @@ pub fn app(version: &str) -> Command {
) )
.arg( .arg(
clap::Arg::new("test") clap::Arg::new("test")
.short('t')
.long("test") .long("test")
.help("Activate test mode") .help("Activate test mode")
.action(ArgAction::SetTrue) .action(ArgAction::SetTrue)