From: Jim Meyering Date: Tue, 28 Sep 2004 06:34:22 +0000 (+0000) Subject: (usage): Clarify: --retry works only with --follow=name. X-Git-Tag: v5.3.0~575 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca4c25cccbd62f6eea4e1b69b4f9e396cf1bc1a8;p=thirdparty%2Fcoreutils.git (usage): Clarify: --retry works only with --follow=name. Reported by Nik A. Melchior in http://bugs.debian.org/273781. --- diff --git a/src/tail.c b/src/tail.c index 2210ec4d7c..fba74ecc3c 100644 --- a/src/tail.c +++ b/src/tail.c @@ -193,7 +193,7 @@ enum static struct option const long_options[] = { - /* --allow-missing is deprecated; use --retry instead */ + /* FIXME: remove in 2005 --allow-missing is deprecated; use --retry instead */ {"allow-missing", no_argument, NULL, ALLOW_MISSING_OPTION}, {"bytes", required_argument, NULL, 'c'}, {"follow", optional_argument, NULL, LONG_FOLLOW_OPTION}, @@ -236,7 +236,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\ fputs (_("\ --retry keep trying to open a file even if it is\n\ inaccessible when tail starts or if it becomes\n\ - inaccessible later -- useful only with -f\n\ + inaccessible later; useful when following by name,\n\ + i.e., with --follow=name\n\ -c, --bytes=N output the last N bytes\n\ "), stdout); fputs (_("\