summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorCristian Ionescu-Idbohrn2014-01-09 20:00:58 +0100
committerDenys Vlasenko2014-01-10 16:26:15 +0100
commit1bdbf264540892a20d07cd81d2918dd5519f4bb3 (patch)
treea986d137091e3c735a6cacb7c8328f1c8ba959a4 /coreutils
parent79df481dc4723cc018731508bc08ce42b3b2eb17 (diff)
downloadbusybox-1bdbf264540892a20d07cd81d2918dd5519f4bb3.zip
busybox-1bdbf264540892a20d07cd81d2918dd5519f4bb3.tar.gz
tail: adjust help/usage texts
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/Config.src3
-rw-r--r--coreutils/tail.c7
2 files changed, 5 insertions, 5 deletions
diff --git a/coreutils/Config.src b/coreutils/Config.src
index 0c44c4b..33defa4 100644
--- a/coreutils/Config.src
+++ b/coreutils/Config.src
@@ -633,12 +633,13 @@ config FEATURE_FANCY_TAIL
default y
depends on TAIL
help
- The options (-q, -s, and -v) are provided by GNU tail, but
+ The options (-q, -s, -v and -F) are provided by GNU tail, but
are not specific in the SUSv3 standard.
-q Never output headers giving file names
-s SEC Wait SEC seconds between reads with -f
-v Always output headers giving file names
+ -F Same as -f, but keep retrying
config TEE
bool "tee"
diff --git a/coreutils/tail.c b/coreutils/tail.c
index eab502b..e352ab6 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -32,15 +32,14 @@
//usage: "Print last 10 lines of each FILE (or stdin) to stdout.\n"
//usage: "With more than one FILE, precede each with a filename header.\n"
//usage: "\n -f Print data as file grows"
-//usage: IF_FEATURE_FANCY_TAIL(
-//usage: "\n -s SECONDS Wait SECONDS between reads with -f"
-//usage: )
+//usage: "\n -c [+]N[kbm] Print last N bytes"
//usage: "\n -n N[kbm] Print last N lines"
//usage: "\n -n +N[kbm] Start on Nth line and print the rest"
//usage: IF_FEATURE_FANCY_TAIL(
-//usage: "\n -c [+]N[kbm] Print last N bytes"
//usage: "\n -q Never print headers"
+//usage: "\n -s SECONDS Wait SECONDS between reads with -f"
//usage: "\n -v Always print headers"
+//usage: "\n -F Same as -f, but keep retrying"
//usage: "\n"
//usage: "\nN may be suffixed by k (x1024), b (x512), or m (x1024^2)."
//usage: )