summaryrefslogtreecommitdiff
path: root/utils/count_lines
diff options
context:
space:
mode:
authorsimonpj@microsoft.com <unknown>2009-12-18 10:54:03 +0000
committersimonpj@microsoft.com <unknown>2009-12-18 10:54:03 +0000
commit7e621a8c3a71a10e2d6f1872d5cd57a503ed70fb (patch)
tree880a74e78eab68bb92f0e98788d9c451bc310a89 /utils/count_lines
parent57cf387c0c7e321bb0696685d94e3b1c316c13c0 (diff)
downloadhaskell-7e621a8c3a71a10e2d6f1872d5cd57a503ed70fb.tar.gz
Add an extra heading in the output for count_lines
Diffstat (limited to 'utils/count_lines')
-rw-r--r--utils/count_lines/count_lines.lprl1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/count_lines/count_lines.lprl b/utils/count_lines/count_lines.lprl
index cec332616e..50205ee796 100644
--- a/utils/count_lines/count_lines.lprl
+++ b/utils/count_lines/count_lines.lprl
@@ -51,6 +51,7 @@ foreach $f ( @ARGV ) {
# print the info
$tot = 0;
$totcmts = 0;
+printf "\n Code Comments\n";
foreach $d (sort (keys %DirCount)) {
printf "%-20s %6d %6d\n", $d, $DirCount{$d}, $DirComments{$d};
$tot += $DirCount{$d};