diff options
author | ache <ache@FreeBSD.org> | 2004-03-06 14:24:10 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2004-03-06 14:24:10 +0000 |
commit | c94e5bebf56c687d9580ddca6ce99b3744c2b175 (patch) | |
tree | 405b32a3fc68f2299c2fc9cf4497f7c24a7cd70f /lib/libc/stdlib/getopt_long.3 | |
parent | 97dc367f937a8222c806908a545e7756d4e75444 (diff) | |
download | FreeBSD-src-c94e5bebf56c687d9580ddca6ce99b3744c2b175.zip FreeBSD-src-c94e5bebf56c687d9580ddca6ce99b3744c2b175.tar.gz |
Make GNU-compatible following case:
single '-' in command line and '-' (non-first) in options
Diffstat (limited to 'lib/libc/stdlib/getopt_long.3')
-rw-r--r-- | lib/libc/stdlib/getopt_long.3 | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/lib/libc/stdlib/getopt_long.3 b/lib/libc/stdlib/getopt_long.3 index bd5d2b9..3c6c5ab 100644 --- a/lib/libc/stdlib/getopt_long.3 +++ b/lib/libc/stdlib/getopt_long.3 @@ -271,29 +271,29 @@ found in glibc-2.1.3: .\" .Ev POSIXLY_CORRECT .\" and stops at the first non-option. .\" .El -.It -Handling of -.Ql - -within the option string (not the first character): -.Bl -tag -width ".Bx" -.It Tn GNU -treats a -.Ql - -on the command line as a non-argument. -.It Bx -a -.Ql - -within the option string matches a -.Ql - -(single dash) on the command line. -This functionality is provided for backward compatibility with -programs, such as -.Xr su 1 , -that use -.Ql - -as an option flag. -This practice is wrong, and should not be used in any current development. -.El +.\" .It +.\" Handling of +.\" .Ql - +.\" within the option string (not the first character): +.\" .Bl -tag -width ".Bx" +.\" .It Tn GNU +.\" treats a +.\" .Ql - +.\" on the command line as a non-argument. +.\" .It Bx +.\" a +.\" .Ql - +.\" within the option string matches a +.\" .Ql - +.\" (single dash) on the command line. +.\" This functionality is provided for backward compatibility with +.\" programs, such as +.\" .Xr su 1 , +.\" that use +.\" .Ql - +.\" as an option flag. +.\" This practice is wrong, and should not be used in any current development. +.\" .El .\" .It .\" Handling of .\" .Ql :: |