summaryrefslogtreecommitdiffstats
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2002-03-30 14:32:07 +0000
committerdwmalone <dwmalone@FreeBSD.org>2002-03-30 14:32:07 +0000
commit938a0a2eb491ec1b69daf664d6f501b1caaa3606 (patch)
treec5a6bc39d30d45eb762a2318520fdb90d709da58 /usr.bin/chpass
parent80fda637a4d51b4a427cbc95550a47f564aaf5dc (diff)
downloadFreeBSD-src-938a0a2eb491ec1b69daf664d6f501b1caaa3606.zip
FreeBSD-src-938a0a2eb491ec1b69daf664d6f501b1caaa3606.tar.gz
Fix vendor ID.
Make usage message match the man page. (Missing -o, -h doesn't depend on -d). PR: 36470 Submitted by: Gary W. Swearingen <swear@blarg.net> MFC after: 1 week
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/chpass.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/chpass/chpass.c b/usr.bin/chpass/chpass.c
index 433d323..2fe205f 100644
--- a/usr.bin/chpass/chpass.c
+++ b/usr.bin/chpass/chpass.c
@@ -37,9 +37,11 @@ static const char copyright[] =
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
+#if 0
#ifndef lint
-static const char sccsid[] = "From: @(#)chpass.c 8.4 (Berkeley) 4/2/94";
+static char sccsid[] = "@(#)chpass.c 8.4 (Berkeley) 4/2/94";
#endif /* not lint */
+#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
@@ -292,7 +294,7 @@ usage(void)
(void)fprintf(stderr,
#ifdef YP
- "usage: chpass [-l] [-y] [-d domain [-h host]] [-a list] [-p encpass] [-s shell] [-e mmm dd yy] [user]\n");
+ "usage: chpass [-o] [-l] [-y] [-d domain] [-h host] [-a list] [-p encpass] [-s shell] [-e mmm dd yy] [user]\n");
#else
"usage: chpass [-a list] [-p encpass] [-s shell] [-e mmm dd yy] [user]\n");
#endif
OpenPOWER on IntegriCloud