diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-03-15 23:09:52 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-03-15 23:09:52 +0000 |
commit | 447d00f4359ad95c59a256604b6f6fd2ded3c586 (patch) | |
tree | 7a6168fb32536b656ec9e571865edda5e012e84f /usr.bin/logger | |
parent | d86a4b16a7931596ae7e1a85819619c41f1be287 (diff) |
simplify synopsis/usage() and sort options;
from Igor Sobrado
Diffstat (limited to 'usr.bin/logger')
-rw-r--r-- | usr.bin/logger/logger.1 | 6 | ||||
-rw-r--r-- | usr.bin/logger/logger.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/logger/logger.1 b/usr.bin/logger/logger.1 index fbe592e7717..d9124ccd229 100644 --- a/usr.bin/logger/logger.1 +++ b/usr.bin/logger/logger.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: logger.1,v 1.11 2004/02/14 18:55:31 jmc Exp $ +.\" $OpenBSD: logger.1,v 1.12 2007/03/15 23:09:51 jmc Exp $ .\" $NetBSD: logger.1,v 1.4 1994/12/22 06:26:59 jtc Exp $ .\" .\" Copyright (c) 1983, 1990, 1993 @@ -52,11 +52,11 @@ system log module. .Pp The options are as follows: .Bl -tag -width "-f file" +.It Fl f Ar file +Log the specified file. .It Fl i Log the process ID of the logger process with each line. -.It Fl f Ar file -Log the specified file. .It Fl p Ar pri Enter the message with the specified priority. The priority may be specified numerically or as a diff --git a/usr.bin/logger/logger.c b/usr.bin/logger/logger.c index 2f38ca38670..abacc877dbf 100644 --- a/usr.bin/logger/logger.c +++ b/usr.bin/logger/logger.c @@ -1,4 +1,4 @@ -/* $OpenBSD: logger.c,v 1.8 2006/03/15 03:08:34 dhill Exp $ */ +/* $OpenBSD: logger.c,v 1.9 2007/03/15 23:09:51 jmc Exp $ */ /* $NetBSD: logger.c,v 1.4 1994/12/22 06:27:00 jtc Exp $ */ /* @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)logger.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: logger.c,v 1.8 2006/03/15 03:08:34 dhill Exp $"; +static char rcsid[] = "$OpenBSD: logger.c,v 1.9 2007/03/15 23:09:51 jmc Exp $"; #endif /* not lint */ #include <errno.h> @@ -184,6 +184,6 @@ void usage(void) { (void)fprintf(stderr, - "logger: [-is] [-f file] [-p pri] [-t tag] [ message ... ]\n"); + "usage: logger [-is] [-f file] [-p pri] [-t tag] [message ... ]\n"); exit(1); } |