From 7cdc7a0bd9dfa7a106a27115eb6fa1a3ee0f28ad Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 13 May 1995 18:34:54 +0000 Subject: (usage): Include one- or two-line synopsis in --help output. From Karl Berry. --- src/uniq.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/uniq.c') diff --git a/src/uniq.c b/src/uniq.c index 64a5da3d3..334bbf38e 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -348,6 +348,8 @@ Usage: %s [OPTION]... [INPUT [OUTPUT]]\n\ ", program_name); printf ("\ +Discard all but one of successive identical lines from INPUT (or\n\ +standard input), writing to OUTPUT (or standard output).\n\ \n\ -c, --count prefix lines by the number of occurrences\n\ -d, --repeated only print duplicate lines\n\ @@ -360,9 +362,8 @@ Usage: %s [OPTION]... [INPUT [OUTPUT]]\n\ --help display this help and exit\n\ --version output version information and exit\n\ \n\ -A field is a run of whitespace, than non whitespace characters.\n\ -Fields are skipped before chars. If OUTPUT not specified, writes to\n\ -standard output. If INPUT not specified, reads from standard input.\n\ +A field is a run of whitespace, than non-whitespace characters.\n\ +Fields are skipped before chars. \n\ "); } exit (status); -- cgit v1.2.3-54-g00ecf