diff --git a/pages/common/cloc.md b/pages/common/cloc.md index 0dd9765bd..f1f7b058c 100644 --- a/pages/common/cloc.md +++ b/pages/common/cloc.md @@ -18,3 +18,7 @@ - Ignore files that are ignored by VCS, such as files specified in .gitignore: `cloc --vcs git {{path/to/directory}}` + +- Count all the lines of code in a directory, displaying the results for each file instead of each language: + +`cloc --by-file {{path/to/directory}}`