Make --debug a global flag
This commit is contained in:
parent
827d47b26e
commit
d2fa79f050
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ pub struct Opt {
|
||||||
#[derive(StructOpt, Debug, Serialize, Deserialize, PartialEq)]
|
#[derive(StructOpt, Debug, Serialize, Deserialize, PartialEq)]
|
||||||
struct RawOpt {
|
struct RawOpt {
|
||||||
/// Write out debug logs. (To read the logs, run `eww logs`).
|
/// Write out debug logs. (To read the logs, run `eww logs`).
|
||||||
#[structopt(long = "debug")]
|
#[structopt(long = "debug", global = true)]
|
||||||
log_debug: bool,
|
log_debug: bool,
|
||||||
|
|
||||||
#[structopt(subcommand)]
|
#[structopt(subcommand)]
|
||||||
|
|
Loading…
Add table
Reference in a new issue