Pádraig Brady <[email protected]> writes:

> * src/fold.c (usage): The description of -s was unclear:
> - State that we can also break within words.
> - State that we split on blanks not spaces.
> - State that we split after the blank, not before.
> ---
>  src/fold.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Ah, I guess one might expect 'fold' to not split words.

> diff --git a/src/fold.c b/src/fold.c
> index 6dbf013e2..075dc7532 100644
> --- a/src/fold.c
> +++ b/src/fold.c
> @@ -88,7 +88,7 @@ Wrap input lines in each FILE, writing to standard 
> output.\n\
>        fputs (_("\
>    -b, --bytes         count bytes rather than columns\n\
>    -c, --characters    count characters rather than columns\n\
> -  -s, --spaces        break at spaces\n\
> +  -s, --spaces        break after blanks, or in words > WIDTH\n\
>    -w, --width=WIDTH   use WIDTH columns instead of 80\n\
>  "), stdout);
>        fputs (HELP_OPTION_DESCRIPTION, stdout);

I think "words longer than WIDTH" is a bit more clear than "words
greater than WIDTH". WDYT?

Collin

Reply via email to