diff options
author | Andrew Gallant <jamslam@gmail.com> | 2016-11-06 12:10:27 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2016-11-06 12:10:27 -0500 |
commit | 598b162fea356249506f4ca5480882564fc3321e (patch) | |
tree | 5f29dbbf2469e748c9fcf342dd11b955871055cc /src | |
parent | 0222e024fef6c52fc1cd01b6c7ec01ab38031bce (diff) |
Note -e/--regexp's additional usefulness.
Specifically, it can be used when searching for patterns that start
with a dash.
Fixes #215
Diffstat (limited to 'src')
-rw-r--r-- | src/args.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/args.rs b/src/args.rs index 017ade4c..f75f331d 100644 --- a/src/args.rs +++ b/src/args.rs @@ -48,7 +48,8 @@ Common options: [default: auto] -e, --regexp PATTERN ... Use PATTERN to search. This option can be provided multiple times, where all patterns - given are searched. + given are searched. This is also useful when + searching for a pattern that starts with a dash. -F, --fixed-strings Treat the pattern as a literal string instead of a regular expression. -g, --glob GLOB ... Include or exclude files for searching that |