[PATCHv2] Adjust help/usage texts for tail.
Denys Vlasenko
vda.linux at googlemail.com
Fri Jan 10 16:14:54 UTC 2014
Applied, thanks!
On Fri, Jan 10, 2014 at 4:49 PM, Cristian Ionescu-Idbohrn
<cristian.ionescu-idbohrn at axis.com> wrote:
>
> Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>
> ---
> coreutils/Config.src | 3 ++-
> coreutils/tail.c | 8 ++++----
> 2 files changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/coreutils/Config.src b/coreutils/Config.src
> index 0c44c4b..04bc250 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..f27ffe2 100644
> --- a/coreutils/tail.c
> +++ b/coreutils/tail.c
> @@ -32,16 +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: )
> --
> 1.8.5.2
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
More information about the busybox
mailing list