Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add --no-hborder This removes the horizontal border lines, making for more compact output. For example: % scc --min-gen --no-complexity --no-cocomo --no-size ─────────────────────────────────────────────────────────────────────────────── Language Files Lines Blanks Comments Code ─────────────────────────────────────────────────────────────────────────────── Go 10 1374 114 199 1061 License 1 20 4 0 16 Markdown 1 94 23 0 71 YAML 1 1 0 0 1 ─────────────────────────────────────────────────────────────────────────────── Total 13 1489 141 199 1149 ─────────────────────────────────────────────────────────────────────────────── % scc --min-gen --no-complexity --no-cocomo --no-size --no-hborder Language Files Lines Blanks Comments Code Go 10 1374 114 199 1061 License 1 20 4 0 16 Markdown 1 94 23 0 71 YAML 1 1 0 0 1 Total 13 1489 141 199 1149 Removing those four lines makes a relatively large difference. I named it "hborder" so that it won't be problematic with any potential future vertical borders. Maybe at some point an option for something like this will be added: Language │ Files │ Lines │ Blanks │ Comments │ Code ─────────┼───────┼────────┼────────┼───────────┼───── Go │ 10 │ 1374 │ 114 │ 199 │ 1061 License │ 1 │ 20 │ 4 │ 0 │ 16 Markdown │ 1 │ 94 │ 23 │ 0 │ 71 YAML │ 1 │ 1 │ 0 │ 0 │ 1 ─────────┼───────┼────────┼────────┼───────────┼───── Total │ 13 │ 1489 │ 141 │ 199 │ 1149 Or something along those lines. * Don't print trailing blank line
- Loading branch information