Skip to content

Commit fe1d865

Browse files
committed
add logging options to subcommands
1 parent ff694f0 commit fe1d865

File tree

1 file changed

+2
-0
lines changed
  • src-tauri/cli/src/bin

1 file changed

+2
-0
lines changed

Diff for: src-tauri/cli/src/bin/dg.rs

+2
Original file line numberDiff line numberDiff line change
@@ -490,13 +490,15 @@ async fn main() {
490490
.short('d')
491491
.value_parser(FalseyValueParser::new())
492492
.env("DG_DEBUG")
493+
.global(true)
493494
.action(clap::ArgAction::SetTrue);
494495
let verbose_opt = Arg::new("verbose")
495496
.help("Enable logging everything")
496497
.long("verbose")
497498
.short('v')
498499
.value_parser(FalseyValueParser::new())
499500
.env("DG_VERBOSE")
501+
.global(true)
500502
.action(clap::ArgAction::SetTrue);
501503
let token_opt = Arg::new("token")
502504
.help("Enrollment token")

0 commit comments

Comments
 (0)