diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vtcol.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vtcol.rs b/src/vtcol.rs index 3578986..dcc7820 100644 --- a/src/vtcol.rs +++ b/src/vtcol.rs @@ -278,7 +278,7 @@ impl<'a> Job { pub fn from_argv() -> Result<Job> { - use clap::{App, Arg, SubCommand}; + use clap::{App, Arg, ArgSettings, SubCommand}; let app = App::new(clap::crate_name!()) .version(clap::crate_version!()) @@ -286,6 +286,7 @@ impl<'a> Job .about(clap::crate_description!()) .arg( Arg::with_name("verbose") + .set(ArgSettings::Global) .short("v") .long("verbose") .help("enable extra diagnostics") |