Document that --exclude accepts a list of values

I'm not entirely happy with the wording but wanted to avoid using terms like “match” to avoid giving the impression that things like regular expressions or shell globs were supported.
This commit is contained in:
Chris Adams 2016-07-12 15:41:58 -04:00 committed by GitHub
parent 4e671b5fa9
commit de22ee831b

View file

@ -80,10 +80,10 @@ $ tokei ./foo, ./bar, ./baz
```
#### Excluding folders
The `--exclude` option will allow to pass in a sequence of string to exclude any path including those words
The `--exclude` option accepts a comma-separated list of strings. Any file or directory containing a term will be ignored:
```shell
$ tokei ./foo --exclude node_modules, target
$ tokei ./foo --exclude node_modules,.cache,tmp target
```
#### Sorting output