Преглед изворни кода

Add 'exa: ' before all command-line errors

Benjamin Sago пре 4 година
родитељ
комит
701a2e60e5
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      src/main.rs
  2. 1 1
      xtests/help.toml

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

+ 1 - 1
xtests/help.toml

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