summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-12-14 09:08:37 +0100
committerJim Meyering <meyering@redhat.com>2010-12-14 20:13:05 +0100
commit33a5de5a0efd73abbb532dbd09f5afd23c511484 (patch)
tree9817707260699504c39a3d83ee393ad9d5b62121 /src
parent14ad7a25505ec3127cd1f07001d54d94f51f1748 (diff)
downloadcoreutils-33a5de5a0efd73abbb532dbd09f5afd23c511484.tar.xz
doc: tail: semi-deprecate --sleep-interval and --max-unchanged-stats
Those options are useful only on systems that lack inotify support and in the unusual event that a system with inotify support must resort to polling. * src/tail.c (usage): Note that the --max-unchanged-stats=N and --sleep-interval=N options are rarely useful on systems with inotify support. * doc/coreutils.texi (tail invocation): Likewise.
Diffstat (limited to 'src')
-rw-r--r--src/tail.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tail.c b/src/tail.c
index 924221016..2af9693de 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -286,7 +286,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\
with --follow=name, reopen a FILE which has not\n\
changed size after N (default %d) iterations\n\
to see if it has been unlinked or renamed\n\
- (this is the usual case of rotated log files)\n\
+ (this is the usual case of rotated log files).\n\
+ With inotify, this option is rarely useful.\n\
"),
DEFAULT_N_LINES,
DEFAULT_MAX_N_UNCHANGED_STATS_BETWEEN_OPENS
@@ -300,7 +301,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\
"), stdout);
fputs (_("\
-s, --sleep-interval=N with -f, sleep for approximately N seconds\n\
- (default 1.0) between iterations\n\
+ (default 1.0) between iterations.\n\
+ With inotify, this option is rarely useful.\n\
-v, --verbose always output headers giving file names\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);