aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>2014-01-09 20:00:58 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2014-01-10 16:26:15 +0100
commit1bdbf264540892a20d07cd81d2918dd5519f4bb3 (patch)
treea986d137091e3c735a6cacb7c8328f1c8ba959a4
parent79df481dc4723cc018731508bc08ce42b3b2eb17 (diff)
downloadbusybox-w32-1bdbf264540892a20d07cd81d2918dd5519f4bb3.tar.gz
busybox-w32-1bdbf264540892a20d07cd81d2918dd5519f4bb3.tar.bz2
busybox-w32-1bdbf264540892a20d07cd81d2918dd5519f4bb3.zip
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>
-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 0c44c4b51..33defa4db 100644
--- a/coreutils/Config.src
+++ b/coreutils/Config.src
@@ -633,12 +633,13 @@ config FEATURE_FANCY_TAIL
633 default y 633 default y
634 depends on TAIL 634 depends on TAIL
635 help 635 help
636 The options (-q, -s, and -v) are provided by GNU tail, but 636 The options (-q, -s, -v and -F) are provided by GNU tail, but
637 are not specific in the SUSv3 standard. 637 are not specific in the SUSv3 standard.
638 638
639 -q Never output headers giving file names 639 -q Never output headers giving file names
640 -s SEC Wait SEC seconds between reads with -f 640 -s SEC Wait SEC seconds between reads with -f
641 -v Always output headers giving file names 641 -v Always output headers giving file names
642 -F Same as -f, but keep retrying
642 643
643config TEE 644config TEE
644 bool "tee" 645 bool "tee"
diff --git a/coreutils/tail.c b/coreutils/tail.c
index eab502beb..e352ab627 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -32,15 +32,14 @@
32//usage: "Print last 10 lines of each FILE (or stdin) to stdout.\n" 32//usage: "Print last 10 lines of each FILE (or stdin) to stdout.\n"
33//usage: "With more than one FILE, precede each with a filename header.\n" 33//usage: "With more than one FILE, precede each with a filename header.\n"
34//usage: "\n -f Print data as file grows" 34//usage: "\n -f Print data as file grows"
35//usage: IF_FEATURE_FANCY_TAIL( 35//usage: "\n -c [+]N[kbm] Print last N bytes"
36//usage: "\n -s SECONDS Wait SECONDS between reads with -f"
37//usage: )
38//usage: "\n -n N[kbm] Print last N lines" 36//usage: "\n -n N[kbm] Print last N lines"
39//usage: "\n -n +N[kbm] Start on Nth line and print the rest" 37//usage: "\n -n +N[kbm] Start on Nth line and print the rest"
40//usage: IF_FEATURE_FANCY_TAIL( 38//usage: IF_FEATURE_FANCY_TAIL(
41//usage: "\n -c [+]N[kbm] Print last N bytes"
42//usage: "\n -q Never print headers" 39//usage: "\n -q Never print headers"
40//usage: "\n -s SECONDS Wait SECONDS between reads with -f"
43//usage: "\n -v Always print headers" 41//usage: "\n -v Always print headers"
42//usage: "\n -F Same as -f, but keep retrying"
44//usage: "\n" 43//usage: "\n"
45//usage: "\nN may be suffixed by k (x1024), b (x512), or m (x1024^2)." 44//usage: "\nN may be suffixed by k (x1024), b (x512), or m (x1024^2)."
46//usage: ) 45//usage: )