From f89fe20dde8874cf1d57c690b9b3f9f5d286fefb Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 27 Feb 2021 19:34:30 -0500 Subject: Add -d flag to catsit-watch --- catsit-watch.1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'catsit-watch.1') 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 -- cgit 1.4.1