From 1d855f188f45814cf3bba1172cd4fab025b2540c Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 14 Dec 2014 20:45:28 +0100 Subject: docs: improve the sorting of the options in the man page of getopt Signed-off-by: Benno Schulenberg --- misc-utils/getopt.1 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/misc-utils/getopt.1 b/misc-utils/getopt.1 index 7fd872012..6758d2796 100644 --- a/misc-utils/getopt.1 +++ b/misc-utils/getopt.1 @@ -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 -- cgit v1.2.3-55-g7522