File tree 3 files changed +6
-1
lines changed
3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,8 @@ Bug fixes:
84
84
* [ BUG #948 ] ( https://github.com/BurntSushi/ripgrep/issues/948 ) :
85
85
ripgrep now uses an exit code of 2 to indicate an error, and uses an exit
86
86
code of 1 to indicate that no matches were found.
87
+ * [ BUG #951 ] ( https://github.com/BurntSushi/ripgrep/issues/951 ) :
88
+ Add stdin example to ripgrep usage documentation.
87
89
* [ BUG #955 ] ( https://github.com/BurntSushi/ripgrep/issues/955 ) :
88
90
Use buffered writing when not printing to a tty, which fixes a performance
89
91
regression.
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ Synopsis
18
18
19
19
*rg* [_OPTIONS_] *--type-list*
20
20
21
+ *command* | *rg* [_OPTIONS_] _PATTERN_
22
+
21
23
*rg* [_OPTIONS_] *--help*
22
24
23
25
*rg* [_OPTIONS_] *--version*
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ const USAGE: &str = "
33
33
rg [OPTIONS] PATTERN [PATH ...]
34
34
rg [OPTIONS] [-e PATTERN ...] [-f PATTERNFILE ...] [PATH ...]
35
35
rg [OPTIONS] --files [PATH ...]
36
- rg [OPTIONS] --type-list" ;
36
+ rg [OPTIONS] --type-list
37
+ command | rg [OPTIONS] PATTERN" ;
37
38
38
39
const TEMPLATE : & str = "\
39
40
{bin} {version}
You can’t perform that action at this time.
0 commit comments