summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2008-07-03 14:40:08 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2008-07-03 14:40:08 +0200
commit0c0c6cc425194293d362867f048cc07113f8947c (patch)
tree09c58090eef79d48319032bcd56fa46cc9635835
parentc28829f119a0f531a3f126e434dd385b7bb23548 (diff)
Manpage updates for -F/--follow=name
-rw-r--r--inotail.115
1 files changed, 11 insertions, 4 deletions
diff --git a/inotail.1 b/inotail.1
index d543e52..0fd679b 100644
--- a/inotail.1
+++ b/inotail.1
@@ -2,14 +2,14 @@
.\" ** The above line should force tbl to be a preprocessor **
.\" Man page for inotail
.\"
-.\" Copyright (c) 2006 Tobias Klauser <tklauser@distanz.ch>
+.\" Copyright (c) 2006-2008 Tobias Klauser <tklauser@distanz.ch>
.\"
.\" You may distribute under the terms of the GNU General Public
.\" License as specified in the file COPYING that comes with
.\" inotail.
.pc
-.TH INOTAIL 1 "2006-08-13" "" "Inotify enhanced tail"
+.TH INOTAIL 1 "2008-07-03" "" "Inotify enhanced tail"
.SH NAME
inotail \- A fast and lightweight version of tail using inotify
.SH SYNOPSIS
@@ -34,8 +34,15 @@ be in the future.
output the last N bytes. If the first character of N is a '+', begin printing
with the Nth character from the start of each file.
.TP
-.B \-f, \fB\-\-follow
-keep the file(s) open and print appended data as the file grows
+.B \-f, \fB\-\-follow\fR[={descriptor|name}]
+keep the file(s) open and print appended data as the file grows; \fB\-f\fR,
+\fB\-\-follow\fR, and \fB\-\-follow=\fIdescriptor\fR are equivalent and follow
+the file descriptor even if the file is renamed or moved. Use
+\fB\-\-follow=name\fR if you want to track the file by name. In this case the
+file is reopened as soon as it got recreated.
+.TP
+.B \-F
+equivalent to \fB\-\-follow=name\fR.
.TP
.B \-n \fIN\fR, \fB\-\-lines\fR=\fIN\fR
output the last N lines (default: 10) If the first character of N is a '+',