Add 'exa: ' before all command-line errors

This commit is contained in:
Benjamin Sago 2021-04-01 11:25:50 +01:00
parent 83f245237b
commit 701a2e60e5
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ fn main() {
} }
OptionsResult::InvalidOptions(error) => { OptionsResult::InvalidOptions(error) => {
eprintln!("{}", error); eprintln!("exa: {}", error);
if let Some(s) = error.suggestion() { if let Some(s) = error.suggestion() {
eprintln!("{}", s); eprintln!("{}", s);