summaryrefslogtreecommitdiffstats
path: root/sys-utils/flock.1
diff options
context:
space:
mode:
authorSami Kerola2015-02-08 00:45:24 +0100
committerSami Kerola2015-03-03 20:35:27 +0100
commit59dc9f28b520561de5194d1217a77080a349e133 (patch)
tree1ba21b9516eea6b6354c5c365606544ccb204302 /sys-utils/flock.1
parentwhereis: tell when mandatory option is missing (diff)
downloadkernel-qcow2-util-linux-59dc9f28b520561de5194d1217a77080a349e133.tar.gz
kernel-qcow2-util-linux-59dc9f28b520561de5194d1217a77080a349e133.tar.xz
kernel-qcow2-util-linux-59dc9f28b520561de5194d1217a77080a349e133.zip
flock: add --verbose option
Jenkins script jobs using flock are a great example of a situation in which one may want an automation to be verbose, so that when unexpected events happen there is more hints in logs. Reviewed-by: Benno Schulenberg <bensberg@justemail.net> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/flock.1')
-rw-r--r--sys-utils/flock.14
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-utils/flock.1 b/sys-utils/flock.1
index cdc294b24..8e9d5c29a 100644
--- a/sys-utils/flock.1
+++ b/sys-utils/flock.1
@@ -107,6 +107,10 @@ option for the exit code used. The zero number of
.IR seconds
is interpreted as \fB\-\-nonblock\fR.
.TP
+.B \-\-verbose
+Report how long it took to acquire the lock, or why the lock could not be
+obtained.
+.TP
.BR \-V , " \-\-version"
Display version information and exit.
.TP