mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
Document environment variable BINSTALL_LOG_LEVEL
(#798)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
28415f7927
commit
3fffe39635
1 changed files with 4 additions and 0 deletions
|
@ -226,6 +226,10 @@ pub struct Args {
|
||||||
///
|
///
|
||||||
/// Set to `off` to disable logging completely, this will also
|
/// Set to `off` to disable logging completely, this will also
|
||||||
/// disable output from `cargo-install`.
|
/// disable output from `cargo-install`.
|
||||||
|
///
|
||||||
|
/// If `--log-level` is not specified on cmdline, then cargo-binstall
|
||||||
|
/// will try to read environment variable `BINSTALL_LOG_LEVEL` and
|
||||||
|
/// interpret it as a log-level.
|
||||||
#[clap(help_heading = "Meta", long, value_name = "LEVEL")]
|
#[clap(help_heading = "Meta", long, value_name = "LEVEL")]
|
||||||
pub log_level: Option<LevelFilter>,
|
pub log_level: Option<LevelFilter>,
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue