Skip to content

Commit

Permalink
feat: Update default value of log-format
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Oct 26, 2023
1 parent f2859d5 commit 5273a4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions espflash/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ pub struct FlashArgs {
#[arg(long)]
pub ram: bool,
/// Logging format.
#[arg(long, short = 'f', requires = "monitor")]
#[arg(long, short = 'f', default_value = "serial", requires = "monitor")]
pub log_format: LogFormat,
}

Expand Down Expand Up @@ -193,7 +193,7 @@ pub struct MonitorArgs {
#[clap(flatten)]
connect_args: ConnectArgs,
/// Logging format.
#[arg(long, short = 'f')]
#[arg(long, short = 'f', default_value = "serial")]
pub log_format: LogFormat,
}

Expand Down

0 comments on commit 5273a4a

Please sign in to comment.