mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-22 03:55:11 +00:00
Add 'exa: ' before all command-line errors
This commit is contained in:
parent
83f245237b
commit
701a2e60e5
@ -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);
|
||||||
|
@ -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' ]
|
||||||
|
Loading…
Reference in New Issue
Block a user