Make --debug a global flag

This commit is contained in:
elkowar 2021-02-07 20:31:39 +01:00
parent 827d47b26e
commit d2fa79f050

View file

@ -18,7 +18,7 @@ pub struct Opt {
#[derive(StructOpt, Debug, Serialize, Deserialize, PartialEq)]
struct RawOpt {
/// Write out debug logs. (To read the logs, run `eww logs`).
#[structopt(long = "debug")]
#[structopt(long = "debug", global = true)]
log_debug: bool,
#[structopt(subcommand)]