]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
groupadd: clarify -U option help text
authorakshay <pkdakshaym@gmail.com>
Mon, 17 Nov 2025 16:04:53 +0000 (21:34 +0530)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Tue, 18 Nov 2025 12:43:35 +0000 (13:43 +0100)
Align wording with groupmod to reduce ambiguity in -U option description.

src/groupadd.c

index c7421e59f9476c7c66e8ec25d8327a1a5b894ad8..59819616ef2abd036ba31a6edf3028587b357f4c 100644 (file)
@@ -125,7 +125,8 @@ usage (int status)
        (void) fputs (_("  -r, --system                  create a system account\n"), usageout);
        (void) fputs (_("  -R, --root CHROOT_DIR         directory to chroot into\n"), usageout);
        (void) fputs (_("  -P, --prefix PREFIX_DIR       directory prefix\n"), usageout);
-       (void) fputs (_("  -U, --users USERS             list of user members of this group\n"), usageout);
+       (void) fputs (_("  -U, --users USERS             comma-separated list of users to add as\n"
+                       "                                members of this group\n"), usageout);
        (void) fputs ("\n", usageout);
        exit (status);
 }