From 1eaacac3120f59bd90544d0f4257b87b0df324ee Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 14 Feb 2009 09:09:17 +0100 Subject: 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. --- THANKS | 1 + man/id.x | 2 +- src/id.c | 3 ++- 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\ -- cgit v1.2.3-70-g09d2