summaryrefslogtreecommitdiff
path: root/src/tail.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/tail.c
parente8be969ec8dabc29cf0f55750fdde2a52cc0df23 (diff)
downloadcoreutils-7cdc7a0bd9dfa7a106a27115eb6fa1a3ee0f28ad.tar.xz
(usage): Include one- or two-line synopsis in --help output.
From Karl Berry.
Diffstat (limited to 'src/tail.c')
-rw-r--r--src/tail.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tail.c b/src/tail.c
index 3f6b8dd54..ba9f45be6 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -1008,6 +1008,9 @@ Usage: %s [OPTION]... [FILE]...\n\
",
program_name);
printf ("\
+Print last 10 lines of each FILE to standard output.\n\
+With more than one FILE, precede each with a header giving the file name.\n\
+With no FILE, or when FILE is -, read standard input.\n\
\n\
-c, --bytes=N output the last N bytes\n\
-f, --follow output appended data as the file grows\n\
@@ -1023,7 +1026,7 @@ print the last N items in the file. N may have a multiplier suffix:\n\
b for 512, k for 1024, m for 1048576 (1 Meg). A first OPTION of -VALUE\n\
or +VALUE is treated like -n VALUE or -n +VALUE unless VALUE has one of\n\
the [bkm] suffix multipliers, in which case it is treated like -c VALUE\n\
-or -c +VALUE. With no FILE, or when FILE is -, read standard input.\n\
+or -c +VALUE.\n\
");
}
exit (status);