diff --git a/Cargo.toml b/Cargo.toml index 11eb268..bb6b410 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,6 +49,7 @@ log = "0.4.1" clap = { version = "4.0.0", default-features = false, features = ["std", "derive"] } [dev-dependencies] +clap = { version = "4.0.0", default-features = false, features = ["help", "usage"] } env_logger = "0.10.1" tracing = "0.1" tracing-subscriber = "0.3" diff --git a/src/lib.rs b/src/lib.rs index 32ee1da..16c7d4f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -157,7 +157,7 @@ pub trait LogLevel { fn default() -> Option; fn verbose_help() -> Option<&'static str> { - Some("More output per occurrence") + Some("Increase logging verbosity") } fn verbose_long_help() -> Option<&'static str> { @@ -165,7 +165,7 @@ pub trait LogLevel { } fn quiet_help() -> Option<&'static str> { - Some("Less output per occurrence") + Some("Decrease logging verbosity") } fn quiet_long_help() -> Option<&'static str> {