mirror of
https://github.com/XAMPPRocky/tokei
synced 2024-09-13 21:11:29 +00:00
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:
parent
4e671b5fa9
commit
de22ee831b
|
@ -80,10 +80,10 @@ $ tokei ./foo, ./bar, ./baz
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Excluding folders
|
#### 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
|
```shell
|
||||||
$ tokei ./foo --exclude node_modules, target
|
$ tokei ./foo --exclude node_modules,.cache,tmp target
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Sorting output
|
#### Sorting output
|
||||||
|
|
Loading…
Reference in a new issue