From 0c0c6cc425194293d362867f048cc07113f8947c Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 3 Jul 2008 14:40:08 +0200 Subject: Manpage updates for -F/--follow=name --- inotail.1 | 15 +++++++++++---- 1 file 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 +.\" Copyright (c) 2006-2008 Tobias Klauser .\" .\" 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 '+', -- cgit v1.2.3-54-g00ecf