<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:
parent
5ee52e15db
commit
0967ef2ab8
@ -106,6 +106,10 @@ do
|
||||
silent=1
|
||||
shift
|
||||
;;
|
||||
-V)
|
||||
${grep} -V
|
||||
exit $?
|
||||
;;
|
||||
-*)
|
||||
grep_args="${grep_args} $1"
|
||||
shift
|
||||
|
Loading…
Reference in New Issue
Block a user