From 9191996bedf19f43dbc3d75a0722550f4b10b9c2 Mon Sep 17 00:00:00 2001 From: Josh McKinney Date: Sun, 15 Dec 2024 17:04:45 -0800 Subject: [PATCH] feat: Impl Copy for Verbosity Makes it possible to use an args struct after using the verbosity flag --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 9a5b5f4..9843994 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 { #[arg(