]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
setpriv: fix usage message inconsistency
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 25 Dec 2025 05:57:09 +0000 (00:57 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 1 Jan 2026 03:50:02 +0000 (22:50 -0500)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
sys-utils/setpriv.c

index 505d1ee5b4ecce374934fb8ad25875f3593cc043..ea1838b3e9fda59744c4a7bcd177e993f2897a60 100644 (file)
@@ -145,6 +145,7 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_(" --clear-groups              clear supplementary groups\n"), out);
        fputs(_(" --keep-groups               keep supplementary groups\n"), out);
        fputs(_(" --init-groups               initialize supplementary groups\n"), out);
+       fputs(_(" --list-caps                 list all known capabilities\n"), out);
        fputs(_(" --groups <group>[,...]      set supplementary group(s) by GID or name\n"), out);
        fputs(_(" --securebits <bits>         set securebits\n"), out);
        fputs(_(" --pdeathsig keep|clear|<signame>\n"