diff --git a/src/main.rs b/src/main.rs index ab640bd..5f06e04 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,9 +13,14 @@ use crate::error::SilentExit; use anyhow::Result; use clap::Clap; +use std::env; use std::process; pub fn main() -> Result<()> { + // Forcibly disable backtraces. + env::remove_var("RUST_LIB_BACKTRACE"); + env::remove_var("RUST_BACKTRACE"); + App::parse() .run() .map_err(|e| match e.downcast::() {