summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-12-12 22:54:21 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-12-12 22:54:21 +0000
commitf049af59f07833ca1b8374fed36a725dea7db9d0 (patch)
treed30681966648cfad15d49ca75f6e31823deca2eb
parent17cb1a349e1925aacbe09cd4eab946d1be14108d (diff)
sync usage();
from david leonard (pr #4939);
-rw-r--r--usr.bin/passwd/passwd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/passwd/passwd.c b/usr.bin/passwd/passwd.c
index 8e558196efa..749f1933346 100644
--- a/usr.bin/passwd/passwd.c
+++ b/usr.bin/passwd/passwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: passwd.c,v 1.20 2005/09/28 00:13:02 deraadt Exp $ */
+/* $OpenBSD: passwd.c,v 1.21 2005/12/12 22:54:20 jmc Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
@@ -37,7 +37,7 @@ char copyright[] =
#ifndef lint
/*static const char sccsid[] = "from: @(#)passwd.c 5.5 (Berkeley) 7/6/91";*/
-static const char rcsid[] = "$OpenBSD: passwd.c,v 1.20 2005/09/28 00:13:02 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: passwd.c,v 1.21 2005/12/12 22:54:20 jmc Exp $";
#endif /* not lint */
#include <stdio.h>
@@ -167,7 +167,6 @@ main(int argc, char **argv)
void
usage(int retval)
{
- fprintf(stderr, "usage: passwd [-l] [-y] [-k [-n name] [-i instance] "
- "[-r realm] [-u username[.instance][@realm]] [user]\n");
+ fprintf(stderr, "usage: passwd [-Kly] [user]\n");
exit(retval);
}