'--exclude-lang = "xml" is not working using cloc
I have used --exclude-lang = "xml" and --exclude-lang = "designer.cs" to exclude designer and xml files from count of lines changes in two different folders but it's not working.
Solution 1:[1]
Simple case of mis-capitalization.  An easy way to troubleshoot this issue is to run cloc .
In your console, you'll see a table report printed like this:
You posted that you used: --exclude-lang = "xml".  Instead you need to match the language description exactly.  In the consoles output, you can see xml is all caps.  If you update your flag too --exclude-lang="XML" you'll see that XML scanning is ignored.
Solution 2:[2]
Several languages can be excluded for instance by:
--exclude-lang="SVG,CSV,XML,Markdown,TeX,reStrcuturedText"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source | 
|---|---|
| Solution 1 | petros | 
| Solution 2 | Vertexwahn | 

