summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2025-03-22 12:10:36 +0000
committerPádraig Brady <P@draigBrady.com>2025-03-22 12:35:04 +0000
commit446a4c95f9d77bae4b030e7f9cde2eda658094d8 (patch)
tree731893f87e3bd95d8e5efc322f1219ff9f698631
parentls: fix crash on systems with SELinux but without xattr support (diff)
downloadcoreutils-446a4c95f9d77bae4b030e7f9cde2eda658094d8.tar.gz
coreutils-446a4c95f9d77bae4b030e7f9cde2eda658094d8.zip
doc: id: make option combinations more searchable
* 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
-rw-r--r--src/id.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/id.c b/src/id.c
index 346133c00..2f1df41f0 100644
--- 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\