]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: improve the sorting of the options in the man page of getopt
authorBenno Schulenberg <bensberg@justemail.net>
Sun, 14 Dec 2014 19:45:28 +0000 (20:45 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 19 Dec 2014 08:57:22 +0000 (09:57 +0100)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
misc-utils/getopt.1

index 7fd872012587831c1c8a237673f04809ebd06292..6758d2796be022051ec041f6dfc32620f06f6f6e 100644 (file)
@@ -1,4 +1,4 @@
-.TH GETOPT "1" "June 2012" "util-linux" "User Commands"
+.TH GETOPT "1" "December 2014" "util-linux" "User Commands"
 .SH NAME
 getopt \- parse command options (enhanced)
 .SH SYNOPSIS
@@ -69,7 +69,7 @@ for more information).
 .PP
 Traditional implementations of
 .BR getopt (1)
-are unable to cope with whitespace and other (shell\-specific)
+are unable to cope with whitespace and other (shell-specific)
 special characters in arguments and non\-option parameters.  To solve
 this problem, this implementation can generate quoted output which
 must once again be interpreted by the shell (usually by using the
@@ -151,13 +151,6 @@ conventions are used.  Valid arguments are currently
 and
 .RB ' tcsh '.
 .TP
-.BR \-u , " \-\-unquoted"
-Do not quote the output.  Note that whitespace and special
-(shell\-dependent) characters can cause havoc in this mode (like they
-do with other
-.BR getopt (1)
-implementations).
-.TP
 .BR \-T , " \-\-test"
 Test if your
 .BR getopt (1)
@@ -170,6 +163,13 @@ is set, will return
 .RB ' \-\- '
 and error status 0.
 .TP
+.BR \-u , " \-\-unquoted"
+Do not quote the output.  Note that whitespace and special
+(shell-dependent) characters can cause havoc in this mode (like they
+do with other
+.BR getopt (1)
+implementations).
+.TP
 .BR \-V , " \-\-version"
 Display version information and exit.  No other output is generated.
 .SH PARSING