mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-26 11:45:00 +03:00
makes -d and -q global
This commit is contained in:
parent
166be0874c
commit
66e30ba0e1
@ -46,10 +46,10 @@ use structopt::{clap::AppSettings, StructOpt};
|
||||
#[derive(StructOpt, Debug)]
|
||||
#[structopt(name = "leo", author = "The Aleo Team <hello@aleo.org>", setting = AppSettings::ColoredHelp)]
|
||||
struct Opt {
|
||||
#[structopt(short, long, help = "Print additional information for debugging")]
|
||||
#[structopt(short, global = true, help = "Print additional information for debugging")]
|
||||
debug: bool,
|
||||
|
||||
#[structopt(short, long, help = "Suppress CLI output")]
|
||||
#[structopt(short, global = true, help = "Suppress CLI output")]
|
||||
quiet: bool,
|
||||
|
||||
#[structopt(subcommand)]
|
||||
|
Loading…
Reference in New Issue
Block a user