diff options
author | Jesse Luehrs <doy@tozt.net> | 2020-04-18 05:15:34 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2020-04-18 05:15:34 -0400 |
commit | e5ccbac220b1f14e3cede1b55bad92a4f537c8c9 (patch) | |
tree | ebb9f7f4ba097008cebddf059fd6b1c637b58ad9 /src/bin/rbw/main.rs | |
parent | 3765d4f2edc5933f61fd46ab130e366774556cf5 (diff) | |
download | rbw-e5ccbac220b1f14e3cede1b55bad92a4f537c8c9.tar.gz rbw-e5ccbac220b1f14e3cede1b55bad92a4f537c8c9.zip |
enable env_logger in the main app
Diffstat (limited to 'src/bin/rbw/main.rs')
-rw-r--r-- | src/bin/rbw/main.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/rbw/main.rs b/src/bin/rbw/main.rs index 45f1985..5bd6032 100644 --- a/src/bin/rbw/main.rs +++ b/src/bin/rbw/main.rs @@ -5,6 +5,11 @@ mod commands; mod sock; fn main() { + env_logger::from_env( + env_logger::Env::default().default_filter_or("info"), + ) + .init(); + let matches = clap::App::new("rbw") .about("unofficial bitwarden cli") .author(clap::crate_authors!()) |