From: Pádraig Brady Date: Tue, 15 May 2018 04:33:37 +0000 (-0700) Subject: doc: improve formatting of nl --help X-Git-Tag: v8.30~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a5d158ab8fdf9503d152c742aae14713dc33e569;p=thirdparty%2Fcoreutils.git doc: improve formatting of nl --help * src/nl.c (usage): Better delineate the information. --- diff --git a/src/nl.c b/src/nl.c index 90c7ea062c..7aababf606 100644 --- a/src/nl.c +++ b/src/nl.c @@ -205,23 +205,28 @@ Write each FILE to standard output, with line numbers added.\n\ fputs (VERSION_OPTION_DESCRIPTION, stdout); fputs (_("\ \n\ -By default, selects -v1 -i1 -l1 -sTAB -w6 -nrn -hn -bt -fn.\n\ -CC are two delimiter characters used to construct logical page delimiters,\n\ -a missing second character implies :. Type \\\\ for \\. STYLE is one of:\n\ +Default options are: -bt -d'\\:' -fn -hn -i1 -l1 -n'rn' -s -v1 -w6\n\ +\n\ +CC are two delimiter characters used to construct logical page delimiters;\n\ +a missing second character implies ':'.\n\ "), stdout); fputs (_("\ \n\ - a number all lines\n\ - t number only nonempty lines\n\ - n number no lines\n\ - pBRE number only lines that contain a match for the basic regular\n\ - expression, BRE\n\ +STYLE is one of:\n\ +\n\ + a number all lines\n\ + t number only nonempty lines\n\ + n number no lines\n\ + pBRE number only lines that contain a match for the basic regular\n\ + expression, BRE\n\ +"), stdout); + fputs (_("\ \n\ FORMAT is one of:\n\ \n\ - ln left justified, no leading zeros\n\ - rn right justified, no leading zeros\n\ - rz right justified, leading zeros\n\ + ln left justified, no leading zeros\n\ + rn right justified, no leading zeros\n\ + rz right justified, leading zeros\n\ \n\ "), stdout); emit_ancillary_info (PROGRAM_NAME);