]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
flock: fix incomplete -n option info in usage message
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 24 Nov 2025 03:29:01 +0000 (22:29 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 24 Nov 2025 03:29:01 +0000 (22:29 -0500)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
sys-utils/flock.c

index fe1a71f7282168ff560eeab09ad719ded1e7db78..4cc0610e501d3ed054d42b3953eac48aeb1ac99b 100644 (file)
@@ -75,7 +75,7 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_(  " -s, --shared             get a shared lock\n"), stdout);
        fputs(_(  " -x, --exclusive          get an exclusive lock (default)\n"), stdout);
        fputs(_(  " -u, --unlock             remove a lock\n"), stdout);
-       fputs(_(  " -n, --nonblock           fail rather than wait\n"), stdout);
+       fputs(_(  " -n, --nb, --nonblocking  fail rather than wait\n"), stdout);
        fputs(_(  " -w, --timeout <secs>     wait for a limited amount of time\n"), stdout);
        fputs(_(  " -E, --conflict-exit-code <number>  exit code after conflict or timeout\n"), stdout);
        fputs(_(  " -o, --close              close file descriptor before running command\n"), stdout);