mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
doc: improve formatting of nl --help
* src/nl.c (usage): Better delineate the information.
This commit is contained in:
1 parent
f6cb50cc99
commit
a5d158ab8f
1 file changed
+16
-11
@@ -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<TAB> -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);
|
||||
|
||||
Reference in new issue
Block a user