From 2410bc7ffc775ec49e6e7913e0b5e37118c1f02a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 26 Apr 2020 01:11:03 +0200 Subject: update man page even more --- shutdownasap.1.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/shutdownasap.1.in b/shutdownasap.1.in index 976ca79..d8d9138 100644 --- a/shutdownasap.1.in +++ b/shutdownasap.1.in @@ -2,7 +2,10 @@ .SH NAME shutdownasap \- simple script for \fBshutdown\fP waiting for certain processes and files to disapear .SH SYNOPSIS -\fBshutdownasap\fP +\fBshutdownasap [-q]\fP +.TP +\fB-q\fR +suppress output .SH DESCRIPTION \fBshutdownasap\fP shuts down the computer after a certain directory becomes empty and certain processes are not running. For actually shutting down it calls \fBsudo shutdown\fP. @@ -25,10 +28,10 @@ list of files with process ids whose processes must not be running before shutti routine which is called after start of \fBshutdownasap\fP, before watching above conditions .TP .B "additionalWatchHookFast" -routine which is called repeatedly to check if shutdown is safe (exit code 0) or not (exit code 1) +routine which is called repeatedly to check if shutdown is safe (return 0) or not (return 1) .TP .B "additionalWatchHookSlow" -routine which is called to check if shutdown is safe (exit code 0) or not (exit code 1) when all other checks passed +routine which is called to check if shutdown is safe (return 0) or not (return 1) when all other checks passed .TP .B "beforeShutDownHook" routine which is called before shutting down -- cgit v1.2.3-70-g09d2