1
0
mirror of https://git.savannah.gnu.org/git/coreutils.git synced 2026-11-02 06:36:37 +03:00

(usage): Say that

``Mandatory arguments to long options are mandatory for short options too.\n\''
This commit is contained in:
Jim Meyering
2001-11-04 09:43:16 +00:00
parent 4155657f6f
commit ff4121e50e
15 changed files with 22 additions and 7 deletions

View File

@@ -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\

View File

@@ -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\

View File

@@ -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\

View File

@@ -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\

View File

@@ -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\

View File

@@ -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\

View File

@@ -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\

View File

@@ -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\

View File

@@ -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\

View File

@@ -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\

View File

@@ -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\

View File

@@ -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\

View File

@@ -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\

View File

@@ -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\

View File

@@ -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\