<compress>grep: Special case the -V flag

In case we need version information of the ultimately chosen grep, allowing
`zgrep -V` to operate would be most helpful.
This commit is contained in:
Kyle Evans 2018-04-25 18:59:29 +00:00
parent 5ee52e15db
commit 0967ef2ab8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333009

View File

@ -106,6 +106,10 @@ do
silent=1
shift
;;
-V)
${grep} -V
exit $?
;;
-*)
grep_args="${grep_args} $1"
shift