]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
setpriv: simplify usage()
authorKarel Zak <kzak@redhat.com>
Tue, 19 Nov 2013 13:42:22 +0000 (14:42 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 19 Nov 2013 13:42:22 +0000 (14:42 +0100)
Let's keep usage() simple and details in the man page. The current
brief description in usage() seems confusing for some users.

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/setpriv.c

index fe8fbf8e2231a2b9892970d7d758ec8bc00843c5..a17f925091c86230cc9960dd0a10297ba7266425 100644 (file)
@@ -106,8 +106,8 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
        fputs(_(" --keep-groups            keep supplementary groups\n"), out);
        fputs(_(" --groups <group,...>     set supplementary groups\n"), out);
        fputs(_(" --securebits <bits>      set securebits\n"), out);
-       fputs(_(" --selinux-label <label>  set SELinux label (requires process:transition)\n"), out);
-       fputs(_(" --apparmor-profile <pr>  set AppArmor profile (requires onexec permission)\n"), out);
+       fputs(_(" --selinux-label <label>  set SELinux label\n"), out);
+       fputs(_(" --apparmor-profile <pr>  set AppArmor profile\n"), out);
        fputs(USAGE_SEPARATOR, out);
        fputs(USAGE_HELP, out);
        fputs(USAGE_VERSION, out);