diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index d5a13b2..2948818 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,13 +17,14 @@ clippy::todo )] #![allow(clippy::non_ascii_literal)] +#![allow(clippy::missing_docs_in_private_items)] use std::env::current_dir; use std::fs::metadata; use std::io::stdin; use std::path::PathBuf; -use anyhow::bail; +use eyre::{bail, Result}; mod args; mod makefile; @@ -31,7 +32,9 @@ mod makefile; use args::Args; use makefile::Makefile; -fn main() -> anyhow::Result<()> { +fn main() -> Result<()> { + jane_eyre::install()?; + let mut args = Args::from_env_and_args(); // If no makefile is specified, try some options. if args.makefile.is_empty() { |