Module Name: src
Committed By: wiz
Date: Wed Feb 16 19:32:26 UTC 2011
Modified Files:
src/sbin/reboot: reboot.8 reboot.c
Log Message:
Add -vxz to SYNOPSIS and usage.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sbin/reboot/reboot.8
cvs rdiff -u -r1.37 -r1.38 src/sbin/reboot/reboot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/reboot/reboot.8
diff -u src/sbin/reboot/reboot.8:1.28 src/sbin/reboot/reboot.8:1.29
--- src/sbin/reboot/reboot.8:1.28 Wed Feb 16 17:53:31 2011
+++ src/sbin/reboot/reboot.8 Wed Feb 16 19:32:26 2011
@@ -1,4 +1,4 @@
-.\" $NetBSD: reboot.8,v 1.28 2011/02/16 17:53:31 dyoung Exp $
+.\" $NetBSD: reboot.8,v 1.29 2011/02/16 19:32:26 wiz Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -39,11 +39,11 @@
.Nd restarting, powering down and stopping the system
.Sh SYNOPSIS
.Nm halt
-.Op Fl dlnpq
+.Op Fl dlnpqvxz
.Nm poweroff
-.Op Fl dlnq
+.Op Fl dlnqvxz
.Nm
-.Op Fl dlnq
+.Op Fl dlnqvxz
.Op Ar arg ...
.Sh DESCRIPTION
The
Index: src/sbin/reboot/reboot.c
diff -u src/sbin/reboot/reboot.c:1.37 src/sbin/reboot/reboot.c:1.38
--- src/sbin/reboot/reboot.c:1.37 Wed Feb 16 17:53:31 2011
+++ src/sbin/reboot/reboot.c Wed Feb 16 19:32:26 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: reboot.c,v 1.37 2011/02/16 17:53:31 dyoung Exp $ */
+/* $NetBSD: reboot.c,v 1.38 2011/02/16 19:32:26 wiz Exp $ */
/*
* Copyright (c) 1980, 1986, 1993
@@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)reboot.c 8.1 (Berkeley) 6/5/93";
#else
-__RCSID("$NetBSD: reboot.c,v 1.37 2011/02/16 17:53:31 dyoung Exp $");
+__RCSID("$NetBSD: reboot.c,v 1.38 2011/02/16 19:32:26 wiz Exp $");
#endif
#endif /* not lint */
@@ -251,7 +251,7 @@
{
const char *pflag = dohalt ? "p" : "";
- (void)fprintf(stderr, "usage: %s [-dln%sq] [-- <boot string>]\n",
+ (void)fprintf(stderr, "usage: %s [-dln%sqvxz] [-- <boot string>]\n",
getprogname(), pflag);
exit(1);
}