rust/rhg/src/main.rs
changeset 45536 b1cea0dc9db0
parent 45535 f17caf8f3fef
child 45543 2f8227a12592
--- a/rust/rhg/src/main.rs	Mon Aug 17 16:56:39 2020 +0200
+++ b/rust/rhg/src/main.rs	Wed Sep 23 12:26:16 2020 +0200
@@ -1,3 +1,4 @@
+extern crate log;
 use clap::App;
 use clap::AppSettings;
 use clap::Arg;
@@ -15,6 +16,7 @@
 use error::CommandError;
 
 fn main() {
+    env_logger::init();
     let app = App::new("rhg")
         .setting(AppSettings::AllowInvalidUtf8)
         .setting(AppSettings::SubcommandRequired)