diff options
author | Roman Proskuryakov <humbug@deeptown.org> | 2017-03-28 21:14:32 +0300 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2017-04-09 08:47:35 -0400 |
commit | 90a11dec5e5765af560d343e879869a60363ef54 (patch) | |
tree | 150d2e7b22d10d3e35e8f96d5dacebbdf215c46f /doc | |
parent | 9456d95e8f8f170593a68675ca27ee7010ed045a (diff) |
Add `-o/--only-matching` flag.
Currently, the `--only-matching` flag conflicts with the `--replace`
flag. In the future, this restriction may be relaxed.
Fixes #34
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rg.1.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/rg.1.md b/doc/rg.1.md index 658eef6a..42191024 100644 --- a/doc/rg.1.md +++ b/doc/rg.1.md @@ -249,6 +249,10 @@ Project home page: https://github.com/BurntSushi/ripgrep a list of matching files such as with --count, --files-with-matches and --files. +-o, --only-matching +: Print only the matched (non-empty) parts of a matching line, with each such + part on a separate output line. + --path-separator *SEPARATOR* : The path separator to use when printing file paths. This defaults to your platform's path separator, which is / on Unix and \\ on Windows. This flag is |