cgag / loc

Count lines of code quickly.
MIT License
2.31k stars 126 forks source link

Support multiple --exclude #45

Closed dwijnand closed 7 years ago

dwijnand commented 7 years ago

Currently if you invoke with multiple --exclude you get:

error: The argument '--exclude <REGEX>' was provided more than once, but cannot be used multiple times
cgag commented 7 years ago

Sounds good to me. I'll try to do this soon. As a workaround, it should be equivalent to combining the regexs with |.

cgag commented 7 years ago

in master: https://github.com/cgag/loc/commit/14b5c22c21e395ead32ff447256445bb25d3a8ac