From 446318ca15391e700bb0d8b758378c7152f6a0f6 Mon Sep 17 00:00:00 2001 From: David Malone Date: Sat, 30 Mar 2002 14:32:07 +0000 Subject: 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 MFC after: 1 week --- chpass/chpass.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chpass/chpass.c') diff --git a/chpass/chpass.c b/chpass/chpass.c index 433d323..2fe205f 100644 --- a/chpass/chpass.c +++ b/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 __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 -- cgit v1.2.3-56-ge451