mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-06-25 14:22:54 +02:00
Stupid docopt.
It thinks `--type-clear is` is a flag spec.
This commit is contained in:
@ -175,10 +175,10 @@ 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. Only one glob can be
|
Add a new glob for a particular file type. Only one glob can be added
|
||||||
added at a time. Multiple --type-add flags can be provided. Unless
|
at a time. Multiple type-add flags can be provided. Unless type-clear
|
||||||
--type-clear is used, globs are added to any existing globs inside of
|
is used, globs are added to any existing globs inside of ripgrep. Note
|
||||||
ripgrep. Note that this must be passed to every invocation of rg.
|
that this must be passed to every invocation of rg.
|
||||||
|
|
||||||
Example: `--type-add html:*.html`
|
Example: `--type-add html:*.html`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user