about summary refs log tree commit diff
path: root/rwc.1
diff options
context:
space:
mode:
Diffstat (limited to 'rwc.1')
-rw-r--r--rwc.110
1 files changed, 8 insertions, 2 deletions
diff --git a/rwc.1 b/rwc.1
index b300e98..57c9d22 100644
--- a/rwc.1
+++ b/rwc.1
@@ -6,7 +6,7 @@
 .Nd report when changed
 .Sh SYNOPSIS
 .Nm
-.Op Fl 0d
+.Op Fl 0dp
 .Op Ar path\ ...
 .Sh DESCRIPTION
 .Nm
@@ -34,6 +34,12 @@ Also detect file deletion.
 In this case, deleted files are prefixed by
 .Sq Li "- "
 (that is, a dash and a space).
+.It Fl p
+Pipe mode;
+don't report changes while the standard output pipe is not empty.
+Use this to pipe
+.Nm
+to programs which read standard input slowly.
 .El
 .Sh EXIT STATUS
 .Ex -std
@@ -42,7 +48,7 @@ Watch all source files and run
 .Xr make 1
 when something changes:
 .Pp
-.Dl % git ls-files | rwc | xe -v -s make
+.Dl % git ls-files | rwc -p | xe -v -s make
 .Pp
 Make a sound when a download is done:
 .Pp