--- wait_on.1 +++ wait_on.1 @@ -42,8 +42,11 @@ .Op Fl c .Op Fl h .Op Fl i +.Op Fl p +.Op Fl q .Op Fl v .Op Fl w +.Op Fl x .Op Fl t Ar timeout .Ar .Sh DESCRIPTION @@ -66,11 +69,19 @@ .It Fl i Exit with an exit value that indicates to which file or directory an event has occured. +.It Fl p +Watch for processes IDs instead of files. +.It Fl q +Do not print error messages. .It Fl v Print version string, copyright notice and exit. .It Fl w Only exit when something is written (i.e. ignore all other types of events). Writing includes a file being added to a directory. +.It Fl x +Only exit when something is exited (i.e. ignore all other types of events). +Makes sense only with +.Fl p . .It Fl t Wait for .Ar timeout