]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: id: make option combinations more searchable
authorPádraig Brady <P@draigBrady.com>
Sat, 22 Mar 2025 12:10:36 +0000 (12:10 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 22 Mar 2025 12:35:04 +0000 (12:35 +0000)
* src/id.c (usage): Add commas to make options more searchable.
Don't add spaces since that would overflow 80 cols.
Fixes https://bugs.gnu.org/77162

src/id.c

index 346133c001ba022226e9b825ea2dd85eec2797f5..2f1df41f0d09fd9aae3f8bdc2ad189f39e4493e0 100644 (file)
--- a/src/id.c
+++ b/src/id.c
@@ -102,8 +102,8 @@ or (when USER omitted) for the current process.\n\
   -Z, --context  print only the security context of the process\n\
   -g, --group    print only the effective group ID\n\
   -G, --groups   print all group IDs\n\
-  -n, --name     print a name instead of a number, for -ugG\n\
-  -r, --real     print the real ID instead of the effective ID, with -ugG\n\
+  -n, --name     print a name instead of a number, for -u,-g,-G\n\
+  -r, --real     print the real ID instead of the effective ID, with -u,-g,-G\n\
   -u, --user     print only the effective user ID\n\
   -z, --zero     delimit entries with NUL characters, not whitespace;\n\
                    not permitted in default format\n\