diff options
author | ache <ache@FreeBSD.org> | 2004-03-03 08:29:00 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2004-03-03 08:29:00 +0000 |
commit | 6ec2ddd5365a32afb66baf4b7ad600fb23ae7ddf (patch) | |
tree | ac90c73bbc190ea57a58c6eaa49e80ae49cbde59 /lib/libc/stdlib/getopt_long.3 | |
parent | b64f46d7735f4fa1639b07eac2e25f58869fcf88 (diff) | |
download | FreeBSD-src-6ec2ddd5365a32afb66baf4b7ad600fb23ae7ddf.zip FreeBSD-src-6ec2ddd5365a32afb66baf4b7ad600fb23ae7ddf.tar.gz |
Make return code in noarg case GNU-compatible
Diffstat (limited to 'lib/libc/stdlib/getopt_long.3')
-rw-r--r-- | lib/libc/stdlib/getopt_long.3 | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/lib/libc/stdlib/getopt_long.3 b/lib/libc/stdlib/getopt_long.3 index 88738b0..bd5d2b9 100644 --- a/lib/libc/stdlib/getopt_long.3 +++ b/lib/libc/stdlib/getopt_long.3 @@ -311,26 +311,26 @@ This practice is wrong, and should not be used in any current development. .\" to .\" mean the preceding option takes an optional argument. .\" .El -.It -Return value in case of missing argument if first character -(after -.Ql + -or -.Ql - ) -in option string is not -.Ql \&: : -.Bl -tag -width ".Bx" -.It Tn GNU -returns -.Ql \&? -.It Bx -returns -.Ql \&: -(since -.Bx Ns 's -.Fn getopt -does). -.El +.\" .It +.\" Return value in case of missing argument if first character +.\" (after +.\" .Ql + +.\" or +.\" .Ql - ) +.\" in option string is not +.\" .Ql \&: : +.\" .Bl -tag -width ".Bx" +.\" .It Tn GNU +.\" returns +.\" .Ql \&? +.\" .It Bx +.\" returns +.\" .Ql \&: +.\" (since +.\" .Bx Ns 's +.\" .Fn getopt +.\" does). +.\" .El .\" .It .\" Handling of .\" .Ql --a |