aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pw/pw.c
diff options
context:
space:
mode:
authorDavid Nugent <davidn@FreeBSD.org>1999-03-02 00:53:33 +0000
committerDavid Nugent <davidn@FreeBSD.org>1999-03-02 00:53:33 +0000
commitf35227220fddead8d5936b55f1c9a951fcab6528 (patch)
tree706238ade0bae6140f88d029f017e9a911e748b5 /usr.sbin/pw/pw.c
parent4ac9ae70836f53e6d351857aedc400151dc62f86 (diff)
downloadsrc-f35227220fddead8d5936b55f1c9a951fcab6528.tar.gz
src-f35227220fddead8d5936b55f1c9a951fcab6528.zip
Add the ability to print user records in unix version 7 (old) format.
Notes
Notes: svn path=/head/; revision=44386
Diffstat (limited to 'usr.sbin/pw/pw.c')
-rw-r--r--usr.sbin/pw/pw.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/pw/pw.c b/usr.sbin/pw/pw.c
index 6fbcfb51d1e9..f71cdf70ab19 100644
--- a/usr.sbin/pw/pw.c
+++ b/usr.sbin/pw/pw.c
@@ -26,7 +26,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: pw.c,v 1.13 1999/02/23 10:35:47 davidn Exp $";
+ "$Id: pw.c,v 1.14 1999/02/23 11:01:50 davidn Exp $";
#endif /* not lint */
#include <err.h>
@@ -101,7 +101,7 @@ main(int argc, char *argv[])
"V:C:qn:u:c:d:e:p:g:G:mk:s:oL:i:w:h:Db:NPy:Y",
"V:C:qn:u:rY",
"V:C:qn:u:c:d:e:p:g:G:ml:k:s:w:L:h:FNPY",
- "V:C:qn:u:FPa",
+ "V:C:qn:u:FPa7",
"V:C:q"
},
{ /* grp */
@@ -351,7 +351,8 @@ cmdhelp(int mode, int which)
"\t-u uid user id\n"
"\t-F force print\n"
"\t-P prettier format\n"
- "\t-a print all users\n",
+ "\t-a print all users\n"
+ "\t-7 print in v7 format\n",
"usage: pw usernext [switches]\n"
"\t-V etcdir alternate /etc location\n"
"\t-C config configuration file\n"