diff options
author | June McEnroe <june@causal.agency> | 2021-02-27 19:34:30 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-02-27 19:34:30 -0500 |
commit | f89fe20dde8874cf1d57c690b9b3f9f5d286fefb (patch) | |
tree | ce4e5175a7d4afd6815be36078375b51063fcb53 /catsit-watch.1 | |
parent | Add -a to catsit-watch (diff) | |
download | catsit-f89fe20dde8874cf1d57c690b9b3f9f5d286fefb.tar.gz catsit-f89fe20dde8874cf1d57c690b9b3f9f5d286fefb.zip |
Add -d flag to catsit-watch
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 |