chiark / gitweb /
mtimeout.c: Fix ludicrous whitespace in help message.
[misc] / space.1
diff --git a/space.1 b/space.1
index 7d6c2e2571d6a754563c6ff00e4624dc2876a6f7..f38793f25bb8178c65709468d457df647fb12786 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,20 @@ 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 \-v
+Report detailed messages about whitespace problems encountered.  Useful
+with
+.BR \-c ,
+for example.
+.TP
 .BR \-i [ \fIbackup ]
 Modify all the
 .IR file s