summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2018-07-22 09:38:49 -0400
committerAndrew Gallant <jamslam@gmail.com>2018-07-22 09:38:49 -0400
commit6771626553934f16306e8409aee78f7a63e43738 (patch)
treeb4cf81e211d17060774f54aa6a86612e1c8c25e5 /doc
parentb9c922be53fdadb28ddbb02b4b0d0a63f8bdebe7 (diff)
ripgrep: improve usage documentation
This shows an example for reading stdin. Fixes #951
Diffstat (limited to 'doc')
-rw-r--r--doc/rg.1.txt.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/rg.1.txt.tpl b/doc/rg.1.txt.tpl
index fc268f8b..ab1ef78f 100644
--- a/doc/rg.1.txt.tpl
+++ b/doc/rg.1.txt.tpl
@@ -18,6 +18,8 @@ Synopsis
*rg* [_OPTIONS_] *--type-list*
+*command* | *rg* [_OPTIONS_] _PATTERN_
+
*rg* [_OPTIONS_] *--help*
*rg* [_OPTIONS_] *--version*