]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
flock: resolve consistency issue in the usage message
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Sun, 21 Dec 2025 21:38:26 +0000 (16:38 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 25 Dec 2025 05:41:06 +0000 (00:41 -0500)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
sys-utils/flock.c

index 642e026c855b17b2fcbc93af6a69c718ac277b3a..cfd7686d722ce1c33b13c82932b209a2dead4e36 100644 (file)
@@ -82,6 +82,7 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_(  " -o, --close              close file descriptor before running command\n"), stdout);
        fputs(_(  " -c, --command <command>  run a single command string through the shell\n"), stdout);
        fputs(_(  " -F, --no-fork            execute command without forking\n"), stdout);
+       fputs(_(  "     --wait               same as --timeout\n"), stdout);
        fputs(_(  "     --fcntl              use fcntl(F_OFD_SETLK) rather than flock()\n"), stdout);
        fputs(_(  "     --start <offset>     starting offset for lock (implies --fcntl)\n"), stdout);
        fputs(_(  "     --length <number>    number of bytes to lock (implies --fcntl)\n"), stdout);