diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-04 09:43:16 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-04 09:43:16 +0000 |
commit | ff4121e50e68db095b7248ec6160ff3a660be55a (patch) | |
tree | b5612381c5f63c7b126cba7e74c2f970c09df0b6 /src | |
parent | 4155657f6f6e645cf065d50672290e2f153b9bbc (diff) | |
download | coreutils-ff4121e50e68db095b7248ec6160ff3a660be55a.tar.xz |
(usage): Say that
``Mandatory arguments to long options are mandatory for short options too.\n\''
Diffstat (limited to 'src')
-rw-r--r-- | src/csplit.c | 3 | ||||
-rw-r--r-- | src/cut.c | 3 | ||||
-rw-r--r-- | src/expand.c | 3 | ||||
-rw-r--r-- | src/fold.c | 3 | ||||
-rw-r--r-- | src/head.c | 1 | ||||
-rw-r--r-- | src/nl.c | 3 | ||||
-rw-r--r-- | src/od.c | 1 | ||||
-rw-r--r-- | src/paste.c | 3 | ||||
-rw-r--r-- | src/pr.c | 1 | ||||
-rw-r--r-- | src/sort.c | 1 | ||||
-rw-r--r-- | src/split.c | 1 | ||||
-rw-r--r-- | src/tac.c | 1 | ||||
-rw-r--r-- | src/tail.c | 1 | ||||
-rw-r--r-- | src/unexpand.c | 3 | ||||
-rw-r--r-- | src/uniq.c | 1 |
15 files changed, 22 insertions, 7 deletions
diff --git a/src/csplit.c b/src/csplit.c index 77182d861..d9dd91d58 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -1,5 +1,5 @@ /* csplit - split a file into sections determined by context lines - Copyright (C) 91, 1995-2000 Free Software Foundation, Inc. + Copyright (C) 91, 1995-2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1507,6 +1507,7 @@ Usage: %s [OPTION]... FILE PATTERN...\n\ Output pieces of FILE separated by PATTERN(s) to files `xx01', `xx02', ...,\n\ and output byte counts of each piece to standard output.\n\ \n\ +Mandatory arguments to long options are mandatory for short options too.\n\ -b, --suffix-format=FORMAT use sprintf FORMAT instead of %%d\n\ -f, --prefix=PREFIX use PREFIX instead of `xx'\n\ -k, --keep-files do not remove output files on errors\n\ @@ -1,5 +1,5 @@ /* cut - remove parts of lines of files - Copyright (C) 1984, 1997, 1998, 1999, 2000 by David M. Ihnat + Copyright (C) 1984, 1997, 1998, 1999, 2000, 2001 by David M. Ihnat This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -171,6 +171,7 @@ Usage: %s [OPTION]... [FILE]...\n\ printf (_("\ Print selected parts of lines from each FILE to standard output.\n\ \n\ +Mandatory arguments to long options are mandatory for short options too.\n\ -b, --bytes=LIST output only these bytes\n\ -c, --characters=LIST output only these characters\n\ -d, --delimiter=DELIM use DELIM instead of TAB for field delimiter\n\ diff --git a/src/expand.c b/src/expand.c index c829f776e..4a7f1f9b3 100644 --- a/src/expand.c +++ b/src/expand.c @@ -1,5 +1,5 @@ /* expand - convert tabs to spaces - Copyright (C) 89, 91, 1995-2000 Free Software Foundation, Inc. + Copyright (C) 89, 91, 1995-2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -114,6 +114,7 @@ Usage: %s [OPTION]... [FILE]...\n\ Convert tabs in each FILE to spaces, writing to standard output.\n\ With no FILE, or when FILE is -, read standard input.\n\ \n\ +Mandatory arguments to long options are mandatory for short options too.\n\ -i, --initial do not convert TABs after non whitespace\n\ -t, --tabs=NUMBER have tabs NUMBER characters apart, not 8\n\ -t, --tabs=LIST use comma separated list of explicit tab positions\n\ diff --git a/src/fold.c b/src/fold.c index 97afc5540..c38679741 100644 --- a/src/fold.c +++ b/src/fold.c @@ -1,5 +1,5 @@ /* fold -- wrap each input line to fit in specified width. - Copyright (C) 91, 1995-2000 Free Software Foundation, Inc. + Copyright (C) 91, 1995-2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -71,6 +71,7 @@ Usage: %s [OPTION]... [FILE]...\n\ Wrap input lines in each FILE (standard input by default), writing to\n\ standard output.\n\ \n\ +Mandatory arguments to long options are mandatory for short options too.\n\ -b, --bytes count bytes rather than columns\n\ -s, --spaces break at spaces\n\ -w, --width=WIDTH use WIDTH columns instead of 80\n\ diff --git a/src/head.c b/src/head.c index 634389771..a2de33a44 100644 --- a/src/head.c +++ b/src/head.c @@ -90,6 +90,7 @@ Print first 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\ +Mandatory arguments to long options are mandatory for short options too.\n\ -c, --bytes=SIZE print first SIZE bytes\n\ -n, --lines=NUMBER print first NUMBER lines instead of first 10\n\ -q, --quiet, --silent never print headers giving file names\n\ @@ -1,5 +1,5 @@ /* nl -- number lines of files - Copyright (C) 89, 92, 1995-2000 Free Software Foundation, Inc. + Copyright (C) 89, 92, 1995-2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -181,6 +181,7 @@ Usage: %s [OPTION]... [FILE]...\n\ Write each FILE to standard output, with line numbers added.\n\ With no FILE, or when FILE is -, read standard input.\n\ \n\ +Mandatory arguments to long options are mandatory for short options too.\n\ -b, --body-numbering=STYLE use STYLE for numbering body lines\n\ -d, --section-delimiter=CC use CC for separating logical pages\n\ -f, --footer-numbering=STYLE use STYLE for numbering footer lines\n\ @@ -282,6 +282,7 @@ of FILE to standard output. With more than one FILE argument,\n\ concatenate them in the listed order to form the input.\n\ With no FILE, or when FILE is -, read standard input.\n\ \n\ +Mandatory arguments to long options are mandatory for short options too.\n\ -A, --address-radix=RADIX decide how file offsets are printed\n\ -j, --skip-bytes=BYTES skip BYTES input bytes first\n\ -N, --read-bytes=BYTES limit dump to BYTES input bytes\n\ diff --git a/src/paste.c b/src/paste.c index 8bd444331..061750286 100644 --- a/src/paste.c +++ b/src/paste.c @@ -1,5 +1,5 @@ /* paste - merge lines of files - Copyright (C) 1984, 1997, 1998, 1999, 2000 by David M. Ihnat + Copyright (C) 1984, 1997, 1998, 1999, 2000, 2001 by David M. Ihnat This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -409,6 +409,7 @@ Write lines consisting of the sequentially corresponding lines from\n\ each FILE, separated by TABs, to standard output.\n\ With no FILE, or when FILE is -, read standard input.\n\ \n\ +Mandatory arguments to long options are mandatory for short options too.\n\ -d, --delimiters=LIST reuse characters from LIST instead of TABs\n\ -s, --serial paste one file at a time instead of in parallel\n\ --help display this help and exit\n\ @@ -2749,6 +2749,7 @@ Usage: %s [OPTION]... [FILE]...\n\ printf (_("\ Paginate or columnate FILE(s) for printing.\n\ \n\ +Mandatory arguments to long options are mandatory for short options too.\n\ +FIRST_PAGE[:LAST_PAGE], --pages=FIRST_PAGE[:LAST_PAGE]\n\ begin [stop] printing with page FIRST_[LAST_]PAGE\n\ -COLUMN, --columns=COLUMN\n\ diff --git a/src/sort.c b/src/sort.c index 17c42633f..13304c751 100644 --- a/src/sort.c +++ b/src/sort.c @@ -291,6 +291,7 @@ Write sorted concatenation of all FILE(s) to standard output.\n\ \n\ Ordering options:\n\ \n\ +Mandatory arguments to long options are mandatory for short options too.\n\ -b, --ignore-leading-blanks ignore leading blanks\n\ -d, --dictionary-order consider only blanks and alphanumeric characters\n\ -f, --ignore-case fold lower case to upper case characters\n\ diff --git a/src/split.c b/src/split.c index 2632819d3..a02e64aa6 100644 --- a/src/split.c +++ b/src/split.c @@ -92,6 +92,7 @@ Usage: %s [OPTION] [INPUT [PREFIX]]\n\ Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default\n\ PREFIX is `x'. With no INPUT, or when INPUT is -, read standard input.\n\ \n\ +Mandatory arguments to long options are mandatory for short options too.\n\ -b, --bytes=SIZE put SIZE bytes per output file\n\ -C, --line-bytes=SIZE put at most SIZE bytes of lines per output file\n\ -l, --lines=NUMBER put NUMBER lines per output file\n\ @@ -132,6 +132,7 @@ Usage: %s [OPTION]... [FILE]...\n\ Write each FILE to standard output, last line first.\n\ With no FILE, or when FILE is -, read standard input.\n\ \n\ +Mandatory arguments to long options are mandatory for short options too.\n\ -b, --before attach the separator before instead of after\n\ -r, --regex interpret the separator as a regular expression\n\ -s, --separator=STRING use STRING as the separator instead of newline\n\ diff --git a/src/tail.c b/src/tail.c index 7b4fa7158..18f7bbe0e 100644 --- a/src/tail.c +++ b/src/tail.c @@ -242,6 +242,7 @@ Print the last %d 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\ +Mandatory arguments to long options are mandatory for short options too.\n\ --retry keep trying to open a file even if it is\n\ inaccessible when tail starts or if it becomes\n\ inaccessible later -- useful only with -f\n\ diff --git a/src/unexpand.c b/src/unexpand.c index e1485b1ad..ffc858baf 100644 --- a/src/unexpand.c +++ b/src/unexpand.c @@ -1,5 +1,5 @@ /* unexpand - convert spaces to tabs - Copyright (C) 89, 91, 1995-2000 Free Software Foundation, Inc. + Copyright (C) 89, 91, 1995-2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -380,6 +380,7 @@ Usage: %s [OPTION]... [FILE]...\n\ Convert spaces in each FILE to tabs, writing to standard output.\n\ With no FILE, or when FILE is -, read standard input.\n\ \n\ +Mandatory arguments to long options are mandatory for short options too.\n\ -a, --all convert all whitespace, instead of initial whitespace\n\ -t, --tabs=NUMBER have tabs NUMBER characters apart instead of 8\n\ -t, --tabs=LIST use comma separated list of explicit tab positions\n\ diff --git a/src/uniq.c b/src/uniq.c index 3abb13135..7ea3a404e 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -138,6 +138,7 @@ Usage: %s [OPTION]... [INPUT [OUTPUT]]\n\ Discard all but one of successive identical lines from INPUT (or\n\ standard input), writing to OUTPUT (or standard output).\n\ \n\ +Mandatory arguments to long options are mandatory for short options too.\n\ -c, --count prefix lines by the number of occurrences\n\ -d, --repeated only print duplicate lines\n\ -D, --all-repeated[=delimit-method] print all duplicate lines\n\ |