From 1bdbf264540892a20d07cd81d2918dd5519f4bb3 Mon Sep 17 00:00:00 2001 From: Cristian Ionescu-Idbohrn Date: Thu, 9 Jan 2014 20:00:58 +0100 Subject: tail: adjust help/usage texts Signed-off-by: Cristian Ionescu-Idbohrn Signed-off-by: Denys Vlasenko --- 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 0c44c4b51..33defa4db 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 eab502beb..e352ab627 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: ) -- cgit v1.2.3