summaryrefslogtreecommitdiff
path: root/usr.bin/newsyslog/newsyslog.8
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-09-17 20:16:44 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-09-17 20:16:44 +0000
commit57b26cc1259687060e98aadf2cf183c1f5889204 (patch)
tree6cbeee45afad6a4991fcc3443d54980760f59ad2 /usr.bin/newsyslog/newsyslog.8
parentf8109844aa423259161699ab6eee23ee090e21f3 (diff)
Add -F (force) flag; inspired by FreeBSD
Diffstat (limited to 'usr.bin/newsyslog/newsyslog.8')
-rw-r--r--usr.bin/newsyslog/newsyslog.815
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.bin/newsyslog/newsyslog.8 b/usr.bin/newsyslog/newsyslog.8
index c4567844129..857cb931526 100644
--- a/usr.bin/newsyslog/newsyslog.8
+++ b/usr.bin/newsyslog/newsyslog.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: newsyslog.8,v 1.26 2002/09/17 20:03:40 millert Exp $
+.\" $OpenBSD: newsyslog.8,v 1.27 2002/09/17 20:16:43 millert Exp $
.\"
.\" Copyright (c) 1997, Jason Downs. All rights reserved.
.\"
@@ -56,7 +56,7 @@
.Nd maintain system log files to manageable sizes
.Sh SYNOPSIS
.Nm newsyslog
-.Op Fl mnrv
+.Op Fl Fmnrv
.Op Fl a Ar directory
.Op Fl f Ar config_file
.Sh DESCRIPTION
@@ -80,6 +80,17 @@ Optionally the archived logs can be compressed to save space.
.Pp
The options are as follows:
.Bl -tag -width Ds
+.It Fl F
+Force
+.Nm
+to trim logs regardless of the size and/or age requirements specified in
+.Pa /etc/newsyslog.conf .
+This option may be combined with the
+.Fl n
+or
+.Fl v
+flags to aid in debugging problems with
+.Pa /etc/newsyslog.conf .
.It Fl m
Monitoring mode; only entries marked with an
.Sq M