summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-04-26 01:11:03 +0200
committerErich Eckner <git@eckner.net>2020-04-26 01:11:03 +0200
commit2410bc7ffc775ec49e6e7913e0b5e37118c1f02a (patch)
treea4d6ff605edb9def3e326081d758687d54bae136
parentba4f8853738fc9afbf95d71c2ac6b830fdcc86cf (diff)
downloadshutdownasap-2410bc7ffc775ec49e6e7913e0b5e37118c1f02a.tar.xz
update man page even more
-rw-r--r--shutdownasap.1.in9
1 files 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