Skip to content

Commit

Permalink
feat: Impl Copy for Verbosity
Browse files Browse the repository at this point in the history
Makes it possible to use an args struct after using the verbosity flag
  • Loading branch information
joshka committed Dec 16, 2024
1 parent 9f72d6c commit 9191996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub mod log;
pub mod tracing;

/// Logging flags to `#[command(flatten)]` into your CLI
#[derive(clap::Args, Debug, Clone, Default)]
#[derive(clap::Args, Debug, Clone, Copy, Default)]
#[command(about = None, long_about = None)]
pub struct Verbosity<L: LogLevel = ErrorLevel> {
#[arg(
Expand Down

0 comments on commit 9191996

Please sign in to comment.