summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-12-27 16:00:15 +0100
committerJim Meyering <jim@meyering.net>2006-12-27 16:00:15 +0100
commit2eea35fcf2807d9c9ac10d4d9e1a22aaf886b09d (patch)
tree2de98eb5062c8869f31f6b8731c730feb74aba82
parentf20cd37e51dc566503ff304510be2928b65c2c07 (diff)
downloadcoreutils-2eea35fcf2807d9c9ac10d4d9e1a22aaf886b09d.tar.xz
* src/tail.c (usage): Mention +N for --bytes and --lines.
Suggestion from Evan Hunt.
-rw-r--r--ChangeLog5
-rw-r--r--src/tail.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5120963b6..864468294 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-12-27 Jim Meyering <jim@meyering.net>
+
+ * src/tail.c (usage): Mention +N for --bytes and --lines.
+ Suggestion from Evan Hunt.
+
2006-12-26 Jim Meyering <jim@meyering.net>
* configure.ac: Require autoconf-2.61 and automake-1.10.
diff --git a/src/tail.c b/src/tail.c
index d17f40a9a..2582b9d69 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -231,7 +231,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\
inaccessible when tail starts or if it becomes\n\
inaccessible later; useful when following by name,\n\
i.e., with --follow=name\n\
- -c, --bytes=N output the last N bytes\n\
+ -c, --bytes=N output the last N bytes; alternatively, use +N to\n\
+ output bytes starting with the Nth of each file\n\
"), stdout);
fputs (_("\
-f, --follow[={name|descriptor}]\n\
@@ -241,7 +242,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\
-F same as --follow=name --retry\n\
"), stdout);
printf (_("\
- -n, --lines=N output the last N lines, instead of the last %d\n\
+ -n, --lines=N output the last N lines, instead of the last %d;\n\
+ or use +N to output lines starting with the Nth\n\
--max-unchanged-stats=N\n\
with --follow=name, reopen a FILE which has not\n\
changed size after N (default %d) iterations\n\