summaryrefslogtreecommitdiff
path: root/usr.bin/logger/logger.1
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-03-15 23:12:13 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-03-15 23:12:13 +0000
commit2f39dffe85e3bcba4a85b5bc5bf28ab36b9b112b (patch)
tree1926a3e6c9deb8011d26e32b614270be766b30e8 /usr.bin/logger/logger.1
parent447d00f4359ad95c59a256604b6f6fd2ded3c586 (diff)
+.Ex -std logger
plus a little cleanup
Diffstat (limited to 'usr.bin/logger/logger.1')
-rw-r--r--usr.bin/logger/logger.110
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/logger/logger.1 b/usr.bin/logger/logger.1
index d9124ccd229..8962e72e1f5 100644
--- a/usr.bin/logger/logger.1
+++ b/usr.bin/logger/logger.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: logger.1,v 1.12 2007/03/15 23:09:51 jmc Exp $
+.\" $OpenBSD: logger.1,v 1.13 2007/03/15 23:12:12 jmc Exp $
.\" $NetBSD: logger.1,v 1.4 1994/12/22 06:26:59 jtc Exp $
.\"
.\" Copyright (c) 1983, 1990, 1993
@@ -63,7 +63,7 @@ The priority may be specified numerically or as a
.Dq facility.level
pair.
For example,
-.Dq \-p local3.info
+.Dq -p local3.info
logs the message(s) as
.Ar info Ns rmational
level in the
@@ -83,14 +83,12 @@ flag is not
provided, standard input is logged.
.El
.Pp
-The
-.Nm logger
-utility exits 0 on success or >0 if an error occurred.
+.Ex -std logger
.Sh EXAMPLES
.Bd -literal -offset indent
$ logger System rebooted
-$ logger \-p local0.notice \-t HOSTIDM \-f /dev/idmc
+$ logger -p local0.notice -t HOSTIDM -f /dev/idmc
.Ed
.Sh SEE ALSO
.Xr syslog 3 ,