[git commit] tail: adjust help/usage texts

Denys Vlasenko vda.linux at googlemail.com
Fri Jan 10 15:26:15 UTC 2014


commit: http://git.busybox.net/busybox/commit/?id=1bdbf264540892a20d07cd81d2918dd5519f4bb3
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 coreutils/Config.src |    3 ++-
 coreutils/tail.c     |    7 +++----
 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:	)


More information about the busybox-cvs mailing list