fix use of --type-add

This commit is contained in:
Andrew Gallant 2016-09-26 20:58:28 -04:00
parent 9fa38c6232
commit 7ab29a91d0

View File

@ -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`