diff options
author | Andrew Gallant <jamslam@gmail.com> | 2018-07-22 09:38:49 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2018-07-22 09:38:49 -0400 |
commit | 6771626553934f16306e8409aee78f7a63e43738 (patch) | |
tree | b4cf81e211d17060774f54aa6a86612e1c8c25e5 /src | |
parent | b9c922be53fdadb28ddbb02b4b0d0a63f8bdebe7 (diff) |
ripgrep: improve usage documentation
This shows an example for reading stdin.
Fixes #951
Diffstat (limited to 'src')
-rw-r--r-- | src/app.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,7 +33,8 @@ const USAGE: &str = " rg [OPTIONS] PATTERN [PATH ...] rg [OPTIONS] [-e PATTERN ...] [-f PATTERNFILE ...] [PATH ...] rg [OPTIONS] --files [PATH ...] - rg [OPTIONS] --type-list"; + rg [OPTIONS] --type-list + command | rg [OPTIONS] PATTERN"; const TEMPLATE: &str = "\ {bin} {version} |