space.c, space.1: New `-l' option to handle trailing blank lines.
[misc] / space.1
diff --git a/space.1 b/space.1
index 7d6c2e2..d1dc55a 100644 (file)
--- a/space.1
+++ b/space.1
@@ -10,7 +10,7 @@
 space \- check and fix whitespace in files
 .SH SYNOPSIS
 .B space
-.RB [ \-cmtuv ]
+.RB [ \-clmtuv ]
 .RB [ \-i \c
 .RI [ backup ]]
 .RI [ file ...]
@@ -31,6 +31,9 @@ files.  In particular, it will notice and (if you want) fix
 .BR diff (1)
 not least;
 .hP \*o
+.I trailing blank lines
+\(en which some editors, notably Emacs, introduce by default;
+.hP \*o
 .I groups of spaces which could be replaced by tabs
 \(en replacing them with the appropriate tab characters; or
 .hP \*o
@@ -54,6 +57,14 @@ option with this; without it,
 .B space
 is silent.
 .TP
+.B \-l
+Check the file for trailing blank lines, i.e., lines containing only
+horizontal whitespace.  With
+.BR \-v ,
+report if the file has trailing blank lines; without
+.BR \-c ,
+remove these trailing blank lines from the output.
+.TP
 .BR \-i [ \fIbackup ]
 Modify all the
 .IR file s