summaryrefslogtreecommitdiffstats
path: root/misc-utils/getopt.1
Commit message (Collapse)AuthorAgeFilesLines
* misc-utils/getopt.1: minor corrections to the manualBjarni Ingi Gislason2018-04-061-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Input file is getopt.1 Test nr. 2: Enable and fix warnings from 'test-groff'. Input file is /tmp/getopt.1 <getopt.1>:5 (macro BI): only 1 argument, but more are expected <getopt.1>:419 (macro IR): only 1 argument, but more are expected <getopt.1>:421 (macro IR): only 1 argument, but more are expected chk_manuals: Output is from: test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z and Test nr. 15: Change the name of a macro for two fonts (e.g., BR and IR) to one letter, if there is only one argument. Add the second argument if needed. It is sometimes part of the first one. 5:.BI getopt 419:.IR /usr/share/getopt/ 421:.IR /usr/share/doc/ ##### Test nr. 8: Protect a full stop (.) with "\&", if it has a blank (white-space) in front of or (ignoring transparent characters to the full stop) after it, and it does not mean an end of a sentence. 204:the next parameter (i.e. separated by whitespace on the command 219:or as the next argument (i.e. separated by whitespace on the command 352:(i.e. a parameter that does not start with a 379:will be parsed. It will still do parameter shuffling (i.e. all ##### Test nr. 20: Use a macro to change to the italic font, instead of \fI [1], if possible. The macros have the italic corrections, but "\c" removes them. [1] man-pages(7) 57:is set, or if the first \fIparameter\fR is not an option (does not start 144:Set quoting conventions to those of \fIshell\fR. ##### Test nr. 21: Use the word (in)valid instead of (il)legal if not related to legal matters. See "www.gnu.org/prep/standards". 25:check for legal options. It uses the ##### Test nr. 28: Wrong distance between sentences or protect the indicator. 1) Separate the sentences and subordinate clauses; each begins on a new line. See man-pages(7) and "info groff". Or 2) Adjust space between sentences (two spaces), 3) or protect the indicator by adding "\&" after it. The "indicator" is an "end-of-sentence character" (.!?). 204:the next parameter (i.e. separated by whitespace on the command 219:or as the next argument (i.e. separated by whitespace on the command 352:(i.e. a parameter that does not start with a 379:will be parsed. It will still do parameter shuffling (i.e. all Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> #####
* docs: replace FTP by HTTPS in kernel.org URLsSébastien Helleu2016-12-191-1/+1
| | | | | | | The links to ftp://ftp.kernel.org/ are replaced by https://www.kernel.org/. Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: various pages: Format pathnames as italic (.I)Michael Kerrisk2016-12-091-2/+2
| | | | | | | | | In the majority of pages, pathnames are formatted as Italic, which is the norm. However, there are several cases where they are formatted as bold. This patch fixes a number of those exceptions. Signed-off-by: Michael Kerrisk <mtk.man-pages@gmail.com>
* misc: spelling, always use "cannot" instead of "can not"Ruediger Meier2016-11-301-1/+1
| | | | | | Just to be consistent ... Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* Place SEE ALSO entries in orderMichael Kerrisk (man-pages)2016-11-291-2/+2
| | | | | | | | | | | | This patch does only the following: * Order SEE ALSO entries first by section name, then alphabetically within section * Adds one or two missing commas in SEE ALSO lists * Removes one or two periods that were (inconsistently) used at the end of SEE ALSO lists. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
* docs: don't use bold or italics for "[option]" in synopsis of man pagesBenno Schulenberg2014-12-191-3/+3
| | | | | | | As per the convention shown in Documentation/howto-man-page.txt. Also make a few other tiny adjustments along the way. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: improve the sorting of the options in the man page of getoptBenno Schulenberg2014-12-191-9/+9
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* getopt.1: The usual doc dir is /usr/share/doc, not .../docsVille Skyttä2014-02-101-1/+1
| | | | Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
* docs: standardize the phrases for --help and --version in all man pagesBenno Schulenberg2013-10-151-4/+2Star
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: improve formatting and wording of the getopt man pageBenno Schulenberg2013-10-141-21/+32
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* getopt: add reference to /usr/share/docs to man pageKarel Zak2013-05-281-1/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: move getopt to misc-utils/Karel Zak2012-06-261-0/+448
Signed-off-by: Karel Zak <kzak@redhat.com>