mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 09:40:22 -07:00
fix use of --type-add
This commit is contained in:
parent
9fa38c6232
commit
7ab29a91d0
@ -217,7 +217,7 @@ To see a list of types supported, run `rg --type-list`. To add a new type, use
|
|||||||
`--type-add`:
|
`--type-add`:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ rg --type-add 'foo:*.foo,*.foobar'
|
$ rg --type-add 'foo:*.{foo,foobar}'
|
||||||
```
|
```
|
||||||
|
|
||||||
The type `foo` will now match any file ending with the `.foo` or `.foobar`
|
The type `foo` will now match any file ending with the `.foo` or `.foobar`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user