diff options
author | 2000-11-21 13:36:14 +0000 | |
---|---|---|
committer | 2000-11-21 13:36:14 +0000 | |
commit | 60f73e6de8e57f14ac36b7e8db863fe3c1f056ec (patch) | |
tree | 31b36850524b8f58f633860008f2993123267920 | |
parent | Use __progname in usage() since this may be invoked as "sum" as (diff) | |
download | wireguard-openbsd-60f73e6de8e57f14ac36b7e8db863fe3c1f056ec.tar.xz wireguard-openbsd-60f73e6de8e57f14ac36b7e8db863fe3c1f056ec.zip |
Sync usage() output with man page; mpech@prosoft.org.lv
-rw-r--r-- | usr.bin/chpass/chpass.c | 11 |
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); |