Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/msgs Fix documentation of how to expire old messages...



details:   https://anonhg.NetBSD.org/src/rev/30378332fc92
branches:  trunk
changeset: 791598:30378332fc92
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Nov 24 19:49:22 2013 +0000

description:
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.

diffstat:

 usr.bin/msgs/msgs.1 |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 9b9344cf67ca -r 30378332fc92 usr.bin/msgs/msgs.1
--- a/usr.bin/msgs/msgs.1       Sun Nov 24 18:50:58 2013 +0000
+++ b/usr.bin/msgs/msgs.1       Sun Nov 24 19:49:22 2013 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index