Andrew Gallant
77ad7588ae
Add --no-messages flag.
...
This flag is similar to what's found in grep: it will suppress all error
messages, such as those shown when a particular file couldn't be read.
Closes #149
2016-11-06 14:36:08 -05:00
Andrew Gallant
58aca2efb2
Add -m/--max-count flag.
...
This flag limits the number of matches printed *per file*.
Closes #159
2016-11-06 13:09:53 -05:00
Andrew Gallant
277dda544c
Include the name "ripgrep" in more places.
...
Fixes #203
2016-11-06 12:21:36 -05:00
Andrew Gallant
8c869cbd87
update man page
2016-11-06 12:10:55 -05:00
Andrew Gallant
598b162fea
Note -e/--regexp's additional usefulness.
...
Specifically, it can be used when searching for patterns that start
with a dash.
Fixes #215
2016-11-06 12:10:27 -05:00
Alex Burka
4c3025ab1c
clarify docs for --threads
2016-10-11 17:32:51 -04:00
Andrew Gallant
4665128f25
Clarify documentation for --replace.
...
Also add a minor clarification for --type-add.
Fixes #147
2016-10-10 20:19:45 -04:00
Andrew Gallant
925d0db9f0
Add -s/--case-sensitive flag.
...
This flag overrides both --smart-case and --ignore-case.
Closes #124 .
2016-09-28 16:32:29 -04:00
Garrett Squire
babe80d498
add a max-depth option for directory traversal
...
CR and add integration test
2016-09-27 16:14:53 -07:00
Andrew Gallant
7a3fd1f23f
Add a --null flag.
...
This flag causes a NUL byte to follow any file path in ripgrep's output.
Closes #89 .
2016-09-26 19:21:17 -04:00
Andrew Gallant
982265af70
Move --files-with-matches to less common options.
2016-09-25 18:32:41 -04:00
Andrew Gallant
9dc5464c84
Stop after first match is found with --quiet.
...
Fixes #77 .
2016-09-25 15:01:29 -04:00
Andrew Gallant
95edcd4d3a
Merge pull request #42 from andschwa/files-with-matches
...
Files with matches
2016-09-25 14:53:31 -04:00
Andrew Gallant
b2bbd46178
Clarify documentation of --type-add.
...
This explains it a bit more based on end user feedback. We also fix
the example, which was wrong.
Fixes #82 .
2016-09-25 14:37:01 -04:00
Andrew Schwartzmeyer
a8f3d9e87e
Add --files-with-matches flag.
...
Closes #26 .
Acts like --count but emits only the paths of files with matches,
suitable for piping to xargs. Both mmap and no-mmap searches terminate
after the first match is found. Documentation updated and tests added.
2016-09-24 21:40:17 -07:00
Andrew Gallant
1595f0faf5
Add --smart-case.
...
It does what it says on the tin.
Closes #70 .
2016-09-24 21:51:04 -04:00
Andrew Gallant
8eeb0c0b60
Add --no-ignore-vcs flag.
...
This flag will respect .ignore but not .gitignore.
Closes #68 .
2016-09-24 21:31:24 -04:00
Andrew Gallant
423f2a1927
Permit options with --help/--version.
...
Fixes #47 .
2016-09-24 21:13:24 -04:00
Andrew Gallant
a6e3cab65a
Add --no-filename flag.
...
When this flag is set, a filename is never shown for a match.
Closes #20
2016-09-24 19:24:24 -04:00
Andrew Gallant
9ce0484670
Clarify the documentation of the --type-* flags.
...
Fixes #15
2016-09-24 18:55:48 -04:00
Andrew Gallant
cc90511ab2
Switch from .rgignore to .ignore.
...
But don't actually remove support for .rgignore until the next semver
bump.
Note that this puts us in line with the silver searcher:
https://github.com/ggreer/the_silver_searcher/pull/974
Fixes #40
2016-09-23 22:44:33 -04:00
Andrew Gallant
dfebed6cbe
Add --vimgrep flag.
...
The --vimgrep flag forces a line to be printed for every match, with
line and column numbers.
2016-09-22 21:32:38 -04:00
Andrew Gallant
49003e8488
Add man page.
2016-09-22 17:48:41 -04:00