Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exitcodes #461

Merged
merged 3 commits into from Aug 11, 2014
Merged

Exitcodes #461

merged 3 commits into from Aug 11, 2014

Conversation

luksen
Copy link
Contributor

@luksen luksen commented Aug 6, 2014

This is a pretty straight forward approach to implementing the same exit code behaviour as grep and ack (i.e. 0 on match; 1 on no match). As far as I can tell there is no speed regression as suggested in #214. I only checked that with --stats and didn't do any fancy profiling though.

Test searches that shouldn't produce results now need "[1]" as expected
output to catch the non-zero exit code.
ggreer added a commit that referenced this pull request Aug 11, 2014
@ggreer ggreer merged commit c2bee46 into ggreer:master Aug 11, 2014
@ggreer
Copy link
Owner

ggreer commented Aug 11, 2014

I like it. Thanks for adding a test case and everything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants