bzgrep: make flag --no-filename work

PR:		248813
MFC after:	1 week
This commit is contained in:
Eugene Grosbein 2020-11-20 09:56:46 +00:00
parent d9de80d614
commit 1032f7b82b

View File

@ -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