summaryrefslogtreecommitdiff
path: root/src/nl.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-13 18:34:54 +0000
committerJim Meyering <jim@meyering.net>1995-05-13 18:34:54 +0000
commit7cdc7a0bd9dfa7a106a27115eb6fa1a3ee0f28ad (patch)
tree977d95cd30e4083cdebe7ce708c4940438689d05 /src/nl.c
parente8be969ec8dabc29cf0f55750fdde2a52cc0df23 (diff)
downloadcoreutils-7cdc7a0bd9dfa7a106a27115eb6fa1a3ee0f28ad.tar.xz
(usage): Include one- or two-line synopsis in --help output.
From Karl Berry.
Diffstat (limited to 'src/nl.c')
-rw-r--r--src/nl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nl.c b/src/nl.c
index e7a155a33..f9ac3c9d7 100644
--- a/src/nl.c
+++ b/src/nl.c
@@ -567,6 +567,8 @@ Usage: %s [OPTION]... [FILE]...\n\
",
program_name);
printf ("\
+Write each FILE to standard output, with line numbers added.\n\
+With no FILE, or when FILE is -, read standard input.\n\
\n\
-b, --body-numbering=STYLE use STYLE for numbering body lines\n\
-d, --section-delimiter=CC use CC for separating logical pages\n\
@@ -597,7 +599,6 @@ FORMAT is one of:\n\
rn right justified, no leading zeros\n\
rz right justified, leading zeros\n\
\n\
-With no FILE, or when FILE is -, read standard input.\n\
");
}
exit (status);