Note -e/--regexp's additional usefulness.

Specifically, it can be used when searching for patterns that start
with a dash.

Fixes #215
This commit is contained in:
Andrew Gallant
2016-11-06 12:10:27 -05:00
parent 0222e024fe
commit 598b162fea
2 changed files with 4 additions and 2 deletions

View File

@@ -35,7 +35,8 @@ the raw speed of grep.
-e, --regexp *PATTERN* ...
: Use PATTERN to search. This option can be provided multiple times, where all
patterns given are searched.
patterns given are searched. This is also useful when searching for patterns
that start with a dash.
-F, --fixed-strings
: Treat the pattern as a literal string instead of a regular expression.