mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-02-14 22:23:24 +02:00
parent
346bad7dfc
commit
9ce0484670
9
doc/rg.1
9
doc/rg.1
@ -254,11 +254,16 @@ Show all supported file types and their associated globs.
|
|||||||
.TP
|
.TP
|
||||||
.B \-\-type\-add \f[I]ARG\f[] ...
|
.B \-\-type\-add \f[I]ARG\f[] ...
|
||||||
Add a new glob for a particular file type.
|
Add a new glob for a particular file type.
|
||||||
Example: \-\-type\-add html:\f[I]\&.html,\f[].htm
|
Note that this must be passed to every invocation of rg.
|
||||||
.RS
|
.RS
|
||||||
.RE
|
.RE
|
||||||
|
.PP
|
||||||
|
Example: \-\-type\-add html:\f[I]\&.html,\f[].htm
|
||||||
.TP
|
.TP
|
||||||
.B \-\-type\-clear \f[I]TYPE\f[] ...
|
.B \-\-type\-clear \f[I]TYPE\f[] ...
|
||||||
Clear the file type globs for TYPE.
|
Clear the file type globs previously defined for TYPE.
|
||||||
|
This only clears the default type definitions that are found inside of
|
||||||
|
ripgrep.
|
||||||
|
Note that this must be passed to every invocation of rg.
|
||||||
.RS
|
.RS
|
||||||
.RE
|
.RE
|
||||||
|
@ -164,8 +164,12 @@ the raw speed of grep.
|
|||||||
: Show all supported file types and their associated globs.
|
: Show all supported file types and their associated globs.
|
||||||
|
|
||||||
--type-add *ARG* ...
|
--type-add *ARG* ...
|
||||||
: Add a new glob for a particular file type.
|
: Add a new glob for a particular file type. Note that this must be
|
||||||
|
passed to every invocation of rg.
|
||||||
|
|
||||||
Example: --type-add html:*.html,*.htm
|
Example: --type-add html:*.html,*.htm
|
||||||
|
|
||||||
--type-clear *TYPE* ...
|
--type-clear *TYPE* ...
|
||||||
: Clear the file type globs for TYPE.
|
: Clear the file type globs previously defined for TYPE. This only clears
|
||||||
|
the default type definitions that are found inside of ripgrep. Note
|
||||||
|
that this must be passed to every invocation of rg.
|
||||||
|
@ -163,11 +163,15 @@ File type management options:
|
|||||||
Show all supported file types and their associated globs.
|
Show all supported file types and their associated globs.
|
||||||
|
|
||||||
--type-add ARG ...
|
--type-add ARG ...
|
||||||
Add a new glob for a particular file type.
|
Add a new glob for a particular file type. Note that this must be
|
||||||
|
passed to every invocation of rg.
|
||||||
|
|
||||||
Example: --type-add html:*.html,*.htm
|
Example: --type-add html:*.html,*.htm
|
||||||
|
|
||||||
--type-clear TYPE ...
|
--type-clear TYPE ...
|
||||||
Clear the file type globs for TYPE.
|
Clear the file type globs previously defined for TYPE. This only clears
|
||||||
|
the default type definitions that are found inside of ripgrep. Note
|
||||||
|
that this must be passed to every invocation of rg.
|
||||||
";
|
";
|
||||||
|
|
||||||
/// RawArgs are the args as they are parsed from Docopt. They aren't used
|
/// RawArgs are the args as they are parsed from Docopt. They aren't used
|
||||||
|
Loading…
x
Reference in New Issue
Block a user