Skip to content

Commit

Permalink
add default value for color
Browse files Browse the repository at this point in the history
  • Loading branch information
janstarke committed Apr 15, 2024
1 parent 45473e3 commit 8c253f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/evtxls/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub(crate) struct Cli {
pub(crate) excluded_event_ids: Vec<u16>,

/// highlight interesting content using colors
#[clap(short('C'), long("color"))]
#[clap(short('C'), long("color"), default_value_t = ColorChoice::Auto)]
pub(crate) display_colors: ColorChoice,

/// hide events older than the specified date (hint: use RFC 3339 syntax)
Expand Down

0 comments on commit 8c253f0

Please sign in to comment.