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