]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: id: make --help and .man more descriptive
authorJim Meyering <meyering@redhat.com>
Sat, 14 Feb 2009 08:09:17 +0000 (09:09 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 15 Feb 2009 09:17:19 +0000 (10:17 +0100)
* 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.

THANKS
man/id.x
src/id.c

diff --git a/THANKS b/THANKS
index a3f9801a7602727c5029c4fbbb285f2acef2636b..bedb01a7ad69a6a8c46fb8c8306e2c3c10df3c5b 100644 (file)
--- 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
index 4c990ac299996b2779a5cd11be62044c18ce6f14..d55b3262cedcb9e3d4360a400ce8314014208a2a 100644 (file)
--- 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
index 05ad2d86b40c46bc5e19a094aa3543aea704a647..78f78e058f736fe0a9f7343e42ed99b063411421 100644 (file)
--- 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\