Module Name: src
Committed By: dholland
Date: Sun Nov 24 19:49:22 UTC 2013
Modified Files:
src/usr.bin/msgs: msgs.1
Log Message:
Fix documentation of how to expire old messages. For some reason the
expiration period must be given as a negative number, indicating how
many days ago to place the expire threshold.
PR 48404 from Martin Neitzel.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/msgs/msgs.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/msgs/msgs.1
diff -u src/usr.bin/msgs/msgs.1:1.18 src/usr.bin/msgs/msgs.1:1.19
--- src/usr.bin/msgs/msgs.1:1.18 Thu Mar 22 07:58:19 2012
+++ src/usr.bin/msgs/msgs.1 Sun Nov 24 19:49:22 2013
@@ -1,4 +1,4 @@
-.\" $NetBSD: msgs.1,v 1.18 2012/03/22 07:58:19 wiz Exp $
+.\" $NetBSD: msgs.1,v 1.19 2013/11/24 19:49:22 dholland Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -43,7 +43,7 @@
.Nm
.Op Fl s
.Nm
-.Op Fl c Op Ar days
+.Op Fl c Op Ar \-days
.Sh DESCRIPTION
.Nm
is used to read system messages.
@@ -149,6 +149,10 @@ to run every night.
This will remove all messages over 21 days old.
A different expiration may be specified on the command line to override
the default.
+This number must be negative and indicates the number of days before
+the present whose messages should be kept; that is, use
+.Fl c Ar \-3
+to remove messages more than three days old.
.Pp
Options when reading messages include:
.Bl -tag -width Fl