1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-03 06:45:37 -08:00

sync synopsis and usage; documentation tweaks.

ok jmc@
This commit is contained in:
sobrado 2008-09-10 22:17:33 +00:00
parent bd0185151b
commit 85b719f4d2
3 changed files with 9 additions and 14 deletions

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: savecore.8,v 1.16 2008/07/18 22:44:21 jmc Exp $
.\" $OpenBSD: savecore.8,v 1.17 2008/09/10 22:17:33 sobrado Exp $
.\" $NetBSD: savecore.8,v 1.11 1995/06/27 22:40:46 briggs Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@ -30,7 +30,7 @@
.\"
.\" @(#)savecore.8 8.1 (Berkeley) 6/5/93
.\"
.Dd $Mdocdate: July 18 2008 $
.Dd $Mdocdate: September 10 2008 $
.Dt SAVECORE 8
.Os
.Sh NAME
@ -38,9 +38,7 @@
.Nd "save a core dump of the operating system"
.Sh SYNOPSIS
.Nm savecore
.Fl c
.Nm savecore
.Op Fl fvz
.Op Fl cfvz
.Op Fl N Ar system
.Ar directory
.Sh DESCRIPTION

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: syslogc.8,v 1.7 2007/05/31 19:20:29 jmc Exp $
.\" $OpenBSD: syslogc.8,v 1.8 2008/09/10 22:17:33 sobrado Exp $
.\"
.\" Copyright (c) 2004 Damien Miller
.\"
@ -13,7 +13,7 @@
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.Dd $Mdocdate: May 31 2007 $
.Dd $Mdocdate: September 10 2008 $
.Dt SYSLOGC 8
.Os
.Sh NAME
@ -21,13 +21,10 @@
.Nd collect messages from syslog memory buffer
.Sh SYNOPSIS
.Nm syslogc
.Op Fl Ccfoq
.Op Fl Ccfo
.Op Fl s Ar reporting_socket
.Ar logname
.Nm syslogc
.Op Fl Cc
.Ar logname
.Nm syslogc
.Fl q
.Sh DESCRIPTION
.Nm

View File

@ -1,4 +1,4 @@
/* $OpenBSD: syslogc.c,v 1.13 2007/01/10 13:54:39 jmc Exp $ */
/* $OpenBSD: syslogc.c,v 1.14 2008/09/10 22:17:33 sobrado Exp $ */
/*
* Copyright (c) 2004 Damien Miller
@ -61,8 +61,8 @@ usage(void)
{
extern char *__progname;
fprintf(stderr, "usage: %s [-Ccfoq] [-s reporting_socket] logname\n",
__progname);
fprintf(stderr, "usage: %s [-Ccfo] [-s reporting_socket] logname\n"
" %s -q\n", __progname, __progname);
exit(1);
}