phiresky / ripgrep-all

rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.
Other
7.98k stars 172 forks source link

Errors not showing in stderr #139

Closed SterlingHooten closed 8 months ago

SterlingHooten commented 2 years ago

Error codes in rg can indicate whether a match was found at all, but when the same query is used with rga the error isn't passed to stderr. Am I missing something obvious?

I'm trying to get rga to stop searching after a match is found, exit with a '0' to stderr, otherwise exiting with a '1' to stderr as is the behavior in rg.

Thanks! Sterling

phiresky commented 8 months ago

fixed in 0.10.5