1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-07-11 14:30:24 +02:00

cli: prefix all non-fatal error messages with 'rg: '

Fixes #2694
This commit is contained in:
Andrew Gallant
2024-01-06 14:15:52 -05:00
parent f02a50a69d
commit c8e4a84519
3 changed files with 13 additions and 5 deletions

View File

@ -975,7 +975,7 @@ rgtest!(f1404_nothing_searched_warning, |dir: Dir, mut cmd: TestCommand| {
let output = cmd.raw_output();
let stderr = String::from_utf8_lossy(&output.stderr);
let expected = "\
No files were searched, which means ripgrep probably applied \
rg: No files were searched, which means ripgrep probably applied \
a filter you didn't expect.\n\
Running with --debug will show why files are being skipped.\n\
";