cgag / loc

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

Invocation with no arguments should imply current directory as a target #27

Closed chris-morgan closed 7 years ago

chris-morgan commented 7 years ago

Or: loc should be equivalent to loc ..

I just installed this now and ran loc expecting it to count the current directory. It didn’t.

cgag commented 7 years ago

I feel like I intentionally didn't do this but I can't remember why. One vote for do it is enough to sway me.

cgag commented 7 years ago

Done: https://github.com/cgag/loc/commit/d863c7b2facdf5d7c153ccde106bd7f01833602f