template.long.help
This file
Path
crates/core/flags/doc/template.long.help
64 lines · 1.5 KiB
Last changed by
cargo: add new build-time `unstable-index` featureAndrew Gallantbefore adoptiond958105
History of this fileTake it
1ripgrep !!VERSION!!2Andrew Gallant <jamslam@gmail.com>34ripgrep (rg) recursively searches the current directory for lines matching5a regex pattern. By default, ripgrep will respect gitignore rules and6automatically skip hidden files/directories and binary files.78Use -h for short descriptions and --help for more details.910Project home page: https://github.com/BurntSushi/ripgrep1112USAGE:13 rg [OPTIONS] PATTERN [PATH ...]14 rg [OPTIONS] -e PATTERN ... [PATH ...]15 rg [OPTIONS] -f PATTERNFILE ... [PATH ...]16 rg [OPTIONS] --files [PATH ...]17 rg [OPTIONS] --type-list18 command | rg [OPTIONS] PATTERN19 rg [OPTIONS] --help20 rg [OPTIONS] --version2122POSITIONAL ARGUMENTS:23 <PATTERN>24 A regular expression used for searching. To match a pattern beginning25 with a dash, use the -e/--regexp flag.2627 For example, to search for the literal '-foo', you can use this flag:2829 rg -e -foo3031 You can also use the special '--' delimiter to indicate that no more32 flags will be provided. Namely, the following is equivalent to the33 above:3435 rg -- -foo3637 <PATH>...38 A file or directory to search. Directories are searched recursively.39 File paths specified on the command line override glob and ignore40 rules.4142INPUT OPTIONS:43!!input!!4445SEARCH OPTIONS:46!!search!!4748FILTER OPTIONS:49!!filter!!5051OUTPUT OPTIONS:52!!output!!5354OUTPUT MODES:55!!output-modes!!5657INDEXING:58!!indexing!!5960LOGGING OPTIONS:61!!logging!!6263OTHER BEHAVIORS:64!!other-behaviors!!