diff options
Diffstat (limited to 'catsit-watch.1')
-rw-r--r-- | catsit-watch.1 | 9 |
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 |