aboutsummaryrefslogtreecommitdiff
path: root/bin/ls/util.c
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>1999-08-02 14:55:58 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>1999-08-02 14:55:58 +0000
commitf3a6a64e4a52e75c73f41755b9133f121785f889 (patch)
tree15cda959b59ef8b5f5070909095c9b98368d8126 /bin/ls/util.c
parent2faae814fb8997c6d3c27b6e46972f4f445b19ac (diff)
downloadsrc-f3a6a64e4a52e75c73f41755b9133f121785f889.tar.gz
src-f3a6a64e4a52e75c73f41755b9133f121785f889.zip
Add -n option to print numeric user and group IDs instead of names
in a long (-l) listing. MFC-jockies should make sure that bde's concerns regarding the number of digits required to represent a uid_t and the use of snprintf on the associated PR have been addressed before going wild. PR: 12866 Reported by: Philip Kizer <pckizer@nostrum.com> Obtained from: NetBSD
Notes
Notes: svn path=/head/; revision=49373
Diffstat (limited to 'bin/ls/util.c')
-rw-r--r--bin/ls/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ls/util.c b/bin/ls/util.c
index d4b55e797660..9d5ba39bcec9 100644
--- a/bin/ls/util.c
+++ b/bin/ls/util.c
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)util.c 8.3 (Berkeley) 4/2/94";
#else
static const char rcsid[] =
- "$Id: util.c,v 1.17 1998/04/25 00:12:32 ache Exp $";
+ "$Id: util.c,v 1.18 1998/10/13 12:19:31 des Exp $";
#endif
#endif /* not lint */
@@ -158,7 +158,7 @@ prn_octal(s)
void
usage()
{
- (void)fprintf(stderr, "usage: ls [-ACFHLPRTWacdfgikloqrstu1]"
+ (void)fprintf(stderr, "usage: ls [-ACFHLPRTWacdfgiklnoqrstu1]"
" [file ...]\n");
exit(1);
}