mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-14 20:37:06 +00:00
bzgrep: make flag --no-filename work
PR: 248813 MFC after: 1 week
This commit is contained in:
parent
d9de80d614
commit
1032f7b82b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=367866
|
@ -90,6 +90,10 @@ do
|
|||
pattern_found=1
|
||||
shift
|
||||
;;
|
||||
-h|--no-filename)
|
||||
silent=1
|
||||
shift
|
||||
;;
|
||||
--*)
|
||||
grep_args="${grep_args} $1"
|
||||
shift
|
||||
|
@ -120,10 +124,6 @@ do
|
|||
hyphen=1
|
||||
shift
|
||||
;;
|
||||
-h)
|
||||
silent=1
|
||||
shift
|
||||
;;
|
||||
-r|-R)
|
||||
echo "${prg}: the ${1} flag is not currently supported" >&2
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue