summary refs log tree commit diff
path: root/catsit-watch.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-02-27 19:34:30 -0500
committerJune McEnroe <june@causal.agency>2021-02-27 19:34:30 -0500
commitf89fe20dde8874cf1d57c690b9b3f9f5d286fefb (patch)
treece4e5175a7d4afd6815be36078375b51063fcb53 /catsit-watch.1
parentAdd -a to catsit-watch (diff)
downloadcatsit-f89fe20dde8874cf1d57c690b9b3f9f5d286fefb.tar.gz
catsit-f89fe20dde8874cf1d57c690b9b3f9f5d286fefb.zip
Add -d flag to catsit-watch
Diffstat (limited to 'catsit-watch.1')
-rw-r--r--catsit-watch.19
1 files changed, 8 insertions, 1 deletions
diff --git a/catsit-watch.1 b/catsit-watch.1
index 892fd18..5e97bdd 100644
--- a/catsit-watch.1
+++ b/catsit-watch.1
@@ -9,6 +9,7 @@
 .Sh SYNOPSIS
 .Nm
 .Op Fl ai
+.Op Fl d Ar delay
 .Op Fl f Ar file
 .Ar command ...
 .
@@ -17,7 +18,7 @@ The
 .Nm
 utility runs a command
 each time any of a set of files
-are modified.
+are written to.
 If any watched files are removed
 or if the command exits non-zero,
 .Nm
@@ -31,6 +32,12 @@ Append the path of
 the modified file
 to the arguments of
 .Ar command .
+.It Fl d Ar delay
+Wait
+.Ar delay
+milliseconds before running the command.
+Any further writes within that time
+do not trigger additional runs.
 .It Fl f Ar file
 Add
 .Ar file