summaryrefslogtreecommitdiff
path: root/sbin/shutdown/shutdown.c
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-05-19 09:28:25 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-05-19 09:28:25 +0000
commit375070e394effcc34ade748ac7b7b70cae2ba9a1 (patch)
tree6b11927e320cfab90ce5c13fb810bd5ee2fcf29b /sbin/shutdown/shutdown.c
parent0ad0b29694aa7f16593190e7c9d66ff3f7c46692 (diff)
sort options + sync usage();
Diffstat (limited to 'sbin/shutdown/shutdown.c')
-rw-r--r--sbin/shutdown/shutdown.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/shutdown/shutdown.c b/sbin/shutdown/shutdown.c
index d46b09ef50a..2b3b81a3bc4 100644
--- a/sbin/shutdown/shutdown.c
+++ b/sbin/shutdown/shutdown.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: shutdown.c,v 1.31 2004/01/24 19:14:09 deraadt Exp $ */
+/* $OpenBSD: shutdown.c,v 1.32 2005/05/19 09:28:24 jmc Exp $ */
/* $NetBSD: shutdown.c,v 1.9 1995/03/18 15:01:09 cgd Exp $ */
/*
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)shutdown.c 8.2 (Berkeley) 2/16/94";
#else
-static char rcsid[] = "$OpenBSD: shutdown.c,v 1.31 2004/01/24 19:14:09 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: shutdown.c,v 1.32 2005/05/19 09:28:24 jmc Exp $";
#endif
#endif /* not lint */
@@ -558,6 +558,6 @@ badtime(void)
void
usage(void)
{
- fprintf(stderr, "usage: shutdown [-dfhknpr] shutdowntime [ message ]\n");
+ fprintf(stderr, "usage: shutdown [-] [-dfhknpr] time [warning-message ...]\n");
exit(1);
}