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);

View File

@ -4,4 +4,4 @@ shell = "exa --help"
stdout = { file = "outputs/help.ansitxt" } stdout = { file = "outputs/help.ansitxt" }
stderr = { empty = true } stderr = { empty = true }
status = 0 status = 0
tags = [ 'help '] tags = [ 'help' ]