summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-02-14 09:09:17 +0100
committerJim Meyering <meyering@redhat.com>2009-02-15 10:17:19 +0100
commit1eaacac3120f59bd90544d0f4257b87b0df324ee (patch)
tree74d2e0f413b3194949cc705dc5c49d46d6d027b3
parent5d0b158f4c7b7fa506a9accec511209f68890982 (diff)
downloadcoreutils-1eaacac3120f59bd90544d0f4257b87b0df324ee.tar.xz
doc: id: make --help and .man more descriptive
* src/id.c (usage): Improve description, based on a suggestion from Brian M. Carlson in http://bugs.debian.org/514675 * man/id.x: Use a better one-liner, based on the one at top of id.c.
-rw-r--r--THANKS1
-rw-r--r--man/id.x2
-rw-r--r--src/id.c3
3 files changed, 4 insertions, 2 deletions
diff --git a/THANKS b/THANKS
index a3f9801a7..bedb01a7a 100644
--- a/THANKS
+++ b/THANKS
@@ -82,6 +82,7 @@ Bob Proulx rwp@fc.hp.com
Branden Robinson branden@necrotic.deadbeast.net
Brendan O'Dea bod@compusol.com.au
Brian Kimball bfk@footbag.org
+Brian M. Carlson sandals@crustytoothpaste.ath.cx
Brian Silverman bsilverman@conceptxdesign.com
Brian Youmans 3diff@gnu.org
Bruce Korb bkorb@veritas.com
diff --git a/man/id.x b/man/id.x
index 4c990ac29..d55b3262c 100644
--- a/man/id.x
+++ b/man/id.x
@@ -1,4 +1,4 @@
[NAME]
-id \- print user identity
+id \- print real and effective user and group IDs
[DESCRIPTION]
.\" Add any additional description here
diff --git a/src/id.c b/src/id.c
index 05ad2d86b..78f78e058 100644
--- a/src/id.c
+++ b/src/id.c
@@ -81,7 +81,8 @@ usage (int status)
{
printf (_("Usage: %s [OPTION]... [USERNAME]\n"), program_name);
fputs (_("\
-Print information for USERNAME, or the current user.\n\
+Print user and group information for the specified USERNAME,\n\
+or (when USERNAME omitted) for the current user.\n\
\n\
-a ignore, for compatibility with other versions\n\
-Z, --context print only the security context of the current user\n\