summaryrefslogtreecommitdiff
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-11-21 13:36:15 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-11-21 13:36:15 +0000
commitd0be31fe2a509116df9f5bde7ca1cca822b877e6 (patch)
treeb1c79f0b2498ca59f4d6b2168f4e825ce734596b /usr.bin/chpass
parent35a9b418fb904da4bbd23c1f0ccf7b00ee4a2eb1 (diff)
Sync usage() output with man page; mpech@prosoft.org.lv
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/chpass.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/chpass/chpass.c b/usr.bin/chpass/chpass.c
index 6b1b2b2b301..a0b8215d73d 100644
--- a/usr.bin/chpass/chpass.c
+++ b/usr.bin/chpass/chpass.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: chpass.c,v 1.14 1999/12/05 20:18:35 millert Exp $ */
+/* $OpenBSD: chpass.c,v 1.15 2000/11/21 13:36:14 aaron Exp $ */
/* $NetBSD: chpass.c,v 1.8 1996/05/15 21:50:43 jtc Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)chpass.c 8.4 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: chpass.c,v 1.14 1999/12/05 20:18:35 millert Exp $";
+static char rcsid[] = "$OpenBSD: chpass.c,v 1.15 2000/11/21 13:36:14 aaron Exp $";
#endif
#endif /* not lint */
@@ -245,10 +245,11 @@ usage()
{
#ifdef YP
- (void)fprintf(stderr, "usage: %s [-a list] [-s shell] [-l]%s [user]\n",
- __progname, use_yp?" [-y]":"");
+ (void)fprintf(stderr,
+ "usage: %s [-l%s] [-a list] [-s newshell] [user]\n",
+ __progname, use_yp ? "y" : "");
#else
- (void)fprintf(stderr, "usage: %s [-a list] [-s shell] [user]\n",
+ (void)fprintf(stderr, "usage: %s [-a list] [-s newshell] [user]\n",
__progname);
#endif
exit(1);