aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 4bf22f7..be86652 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -6,6 +6,7 @@ extern crate docopt;
extern crate rustc_serialize;
extern crate libc;
extern crate regex;
+extern crate env_logger;
use std::fs::File;
use std::io::{ self, BufReader };
@@ -44,6 +45,7 @@ struct Args {
}
fn main() {
+ env_logger::init().unwrap();
let args: Args = Docopt::new(USAGE)
.and_then(|d| d.decode())
.unwrap_or_else(|e| e.exit());