v0.2.0 #7

Merged
PlexSheep merged 15 commits from devel into master 2024-05-24 09:31:17 +02:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit f6c9c3c820 - Show all commits

View File

@ -12,7 +12,7 @@ repository = "https://git.cscherr.de/PlexSheep/hedu"
keywords = ["hexdumper"]
[dependencies]
libpt = { version = "0.3.11", features = ["log", "bintols"] }
libpt = { version = "0.5.1", features = ["log", "bintols"] }
clap = { version = "4.4.4", features = ["derive", "help"] }
clap-num = { version = "1.0.2" }
clap-verbosity-flag = { version = "2.0.1" }

View File

@ -130,10 +130,10 @@ fn cli_parse() -> Cli {
}
};
if cli.meta {
Logger::init(None, Some(ll), false).expect("could not initialize Logger");
let _ = Logger::builder().max_level(ll).build();
} else {
// less verbose version
Logger::init_mini(Some(ll)).expect("could not initialize Logger");
let _ = Logger::builder().build();
}
cli
}