From 62bce2f52f651cb13c0779b9518ba7f525836181 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Thu, 4 Aug 2022 23:15:05 +1000 Subject: [PATCH] Improve doc for `Options::log_level` Signed-off-by: Jiahao XU --- src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.rs b/src/main.rs index a794c52c..a725e285 100644 --- a/src/main.rs +++ b/src/main.rs @@ -149,6 +149,12 @@ struct Options { /// Utility log level /// /// Set to `debug` when submitting a bug report. + /// Set to `info` to only print useful information. + /// Set to `Warn` to only print on hazardous situations. + /// Set to `Error` to only print serious errors. + /// + /// Set to `off` to disable logging completely, this will also + /// disable output from `cargo-install`. #[clap( help_heading = "Meta", long,