mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-07-31 20:21:59 -07:00
@@ -12,7 +12,7 @@ Synopsis
|
|||||||
|
|
||||||
*rg* [_OPTIONS_] *-e* _PATTERN_... [_PATH_...]
|
*rg* [_OPTIONS_] *-e* _PATTERN_... [_PATH_...]
|
||||||
|
|
||||||
*rg* [_OPTIONS_] *-f* _PATH_... [_PATH_...]
|
*rg* [_OPTIONS_] *-f* _PATTERNFILE_... [_PATH_...]
|
||||||
|
|
||||||
*rg* [_OPTIONS_] *--files* [_PATH_...]
|
*rg* [_OPTIONS_] *--files* [_PATH_...]
|
||||||
|
|
||||||
|
@@ -31,7 +31,7 @@ Use -h for short descriptions and --help for more details.";
|
|||||||
|
|
||||||
const USAGE: &str = "
|
const USAGE: &str = "
|
||||||
rg [OPTIONS] PATTERN [PATH ...]
|
rg [OPTIONS] PATTERN [PATH ...]
|
||||||
rg [OPTIONS] [-e PATTERN ...] [-f FILE ...] [PATH ...]
|
rg [OPTIONS] [-e PATTERN ...] [-f PATTERNFILE ...] [PATH ...]
|
||||||
rg [OPTIONS] --files [PATH ...]
|
rg [OPTIONS] --files [PATH ...]
|
||||||
rg [OPTIONS] --type-list";
|
rg [OPTIONS] --type-list";
|
||||||
|
|
||||||
@@ -823,7 +823,7 @@ input lines, and the newline is not counted as part of the pattern.
|
|||||||
|
|
||||||
A line is printed if and only if it matches at least one of the patterns.
|
A line is printed if and only if it matches at least one of the patterns.
|
||||||
");
|
");
|
||||||
let arg = RGArg::flag("file", "PATH").short("f")
|
let arg = RGArg::flag("file", "PATTERNFILE").short("f")
|
||||||
.help(SHORT).long_help(LONG)
|
.help(SHORT).long_help(LONG)
|
||||||
.multiple()
|
.multiple()
|
||||||
.allow_leading_hyphen();
|
.allow_leading_hyphen();
|
||||||
|
Reference in New Issue
Block a user