From 701a2e60e5589a28372d8a468f4cd38995a96fa5 Mon Sep 17 00:00:00 2001 From: Benjamin Sago Date: Thu, 1 Apr 2021 11:25:50 +0100 Subject: [PATCH] Add 'exa: ' before all command-line errors --- src/main.rs | 2 +- xtests/help.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index ac69533..84f36b7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -93,7 +93,7 @@ fn main() { } OptionsResult::InvalidOptions(error) => { - eprintln!("{}", error); + eprintln!("exa: {}", error); if let Some(s) = error.suggestion() { eprintln!("{}", s); diff --git a/xtests/help.toml b/xtests/help.toml index 39bba28..84b9609 100644 --- a/xtests/help.toml +++ b/xtests/help.toml @@ -4,4 +4,4 @@ shell = "exa --help" stdout = { file = "outputs/help.ansitxt" } stderr = { empty = true } status = 0 -tags = [ 'help '] +tags = [ 'help' ]