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

Return zero value as exit code when don't hit anything #54

Closed
babarot opened this issue Nov 18, 2016 · 1 comment
Closed

Return zero value as exit code when don't hit anything #54

babarot opened this issue Nov 18, 2016 · 1 comment

Comments

@babarot
Copy link

babarot commented Nov 18, 2016

Thank you for developing useful CLI tool!

Now, jvgrep returns zero value as exit code even if doesn't hit anything:

$ cat *.csv | jvgrep あ
$ echo $?
0

I want jvgrep to return non-zero like grep:

$ cat *.csv | grep a
$ echo $?
1
@mattn mattn closed this as completed in 1b91020 Nov 18, 2016
@babarot
Copy link
Author

babarot commented Nov 18, 2016

Thanks

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

No branches or pull requests

1 participant