Closed ghost closed 7 years ago
Everything internally is coded assuming that I have an array of targets. I was sure this worked. I must have misconfigured the argument parsing, will definitely take a look tonight.
Fixed here: https://github.com/cgag/loc/commit/13159bfbe82af4ad901943b048d3cf11404359e5
I must have accidentally deleted that line at some point.
With cloc I can do the following:
cloc $(git ls-files)
But loc expects only a single target:
Also happens for wildcards:
Where export.php was the second file in the directory I ran the command in.