mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-27 16:09:58 -07:00
surpress error messages by default, fixes #347
This commit is contained in:
committed by
Cooper Quintin
parent
58843413b5
commit
3c4cb56ce6
@@ -1,5 +1,6 @@
|
||||
use anyhow::{Context, Error, bail};
|
||||
use clap::{Parser, Subcommand};
|
||||
use env_logger::Env;
|
||||
|
||||
mod orbic;
|
||||
mod tplink;
|
||||
@@ -68,7 +69,7 @@ struct Serial {
|
||||
}
|
||||
|
||||
async fn run() -> Result<(), Error> {
|
||||
env_logger::init();
|
||||
env_logger::Builder::from_env(Env::default().default_filter_or("off")).init();
|
||||
let Args { command } = Args::parse();
|
||||
|
||||
match command {
|
||||
|
||||
Reference in New Issue
Block a user