Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/reboot Add -vxz to SYNOPSIS and usage.
details: https://anonhg.NetBSD.org/src/rev/2e3f6c7d655c
branches: trunk
changeset: 762154:2e3f6c7d655c
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Feb 16 19:32:26 2011 +0000
description:
Add -vxz to SYNOPSIS and usage.
diffstat:
sbin/reboot/reboot.8 | 8 ++++----
sbin/reboot/reboot.c | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (51 lines):
diff -r 63b976ee0027 -r 2e3f6c7d655c sbin/reboot/reboot.8
--- a/sbin/reboot/reboot.8 Wed Feb 16 19:31:31 2011 +0000
+++ b/sbin/reboot/reboot.8 Wed Feb 16 19:32:26 2011 +0000
@@ -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
diff -r 63b976ee0027 -r 2e3f6c7d655c sbin/reboot/reboot.c
--- a/sbin/reboot/reboot.c Wed Feb 16 19:31:31 2011 +0000
+++ b/sbin/reboot/reboot.c Wed Feb 16 19:32:26 2011 +0000
@@ -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);
}
Home |
Main Index |
Thread Index |
Old Index