mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 13:38:43 +00:00
Revert "Read log_level
from env CARGO_BINSTALL_LOG_LEVEL
if arg not present" (#796)
This reverts commit e84228ba01
.
This commit is contained in:
parent
04113e9dd9
commit
7c15dd2052
2 changed files with 2 additions and 7 deletions
|
@ -24,7 +24,7 @@ pkg-fmt = "zip"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
binstalk = { path = "../binstalk", version = "0.8.0", default-features = false }
|
binstalk = { path = "../binstalk", version = "0.8.0", default-features = false }
|
||||||
binstalk-manifests = { path = "../binstalk-manifests", version = "0.3.0" }
|
binstalk-manifests = { path = "../binstalk-manifests", version = "0.3.0" }
|
||||||
clap = { version = "4.1.4", features = ["derive", "env"] }
|
clap = { version = "4.1.4", features = ["derive"] }
|
||||||
crates_io_api = { version = "0.8.1", default-features = false }
|
crates_io_api = { version = "0.8.1", default-features = false }
|
||||||
dirs = "4.0.0"
|
dirs = "4.0.0"
|
||||||
fs-lock = { version = "0.1.0", path = "../fs-lock" }
|
fs-lock = { version = "0.1.0", path = "../fs-lock" }
|
||||||
|
|
|
@ -226,12 +226,7 @@ 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`.
|
||||||
#[clap(
|
#[clap(help_heading = "Meta", long, value_name = "LEVEL")]
|
||||||
help_heading = "Meta",
|
|
||||||
long,
|
|
||||||
value_name = "LEVEL",
|
|
||||||
env = "CARGO_BINSTALL_LOG_LEVEL"
|
|
||||||
)]
|
|
||||||
pub log_level: Option<LevelFilter>,
|
pub log_level: Option<LevelFilter>,
|
||||||
|
|
||||||
/// Equivalent to setting `log_level` to `off`.
|
/// Equivalent to setting `log_level` to `off`.
|
||||||
|
|
Loading…
Add table
Reference in a new issue