HomeFreeBSD

Fix zgrep --version

Description

Fix zgrep --version

"zgrep --version" is expected to print the version information in the
same way as "zgrep -V". However, the case handling the --version flag
is never reached, so "zgrep --version" prints:

zgrep: missing pattern

instead of:

grep (BSD grep, GNU compatible) 2.6.0-FreeBSD

Reviewed by: yuripv
Approved by: yuripv (src)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29813

(cherry picked from commit 16e0391f8e2124eb85af984204548cf841648db5)

Details

Provenance
0mpAuthored on Apr 13 2021, 10:12 AM
Reviewer
yuripv
Differential Revision
D29813: Fix zgrep --version
Parents
R10:2d8adf9cc000: ixgbe: Clarify index name in ixgbe_mc_filter_apply
Branches
Unknown
Tags
Unknown