summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/getopt.3
diff options
context:
space:
mode:
authorfair <fair@NetBSD.org>1998-04-28 21:19:49 +0000
committerfair <fair@NetBSD.org>1998-04-28 21:19:49 +0000
commitaba63e6a510a2e9bfe6a583b982a2eafeb4b0a5f (patch)
tree0bf2b107dbbd672be8bae3c2b33498ffc6f658f1 /lib/libc/stdlib/getopt.3
parenta27dd1341b52c927c80f49b0baed1669d62cb749 (diff)
fix mdoc references and mistakes
Diffstat (limited to 'lib/libc/stdlib/getopt.3')
-rw-r--r--lib/libc/stdlib/getopt.312
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3
index 53899591644..1a4bfba6f80 100644
--- a/lib/libc/stdlib/getopt.3
+++ b/lib/libc/stdlib/getopt.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: getopt.3,v 1.12 1998/02/05 18:49:57 perry Exp $
+.\" $NetBSD: getopt.3,v 1.13 1998/04/28 21:19:49 fair Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -151,8 +151,8 @@ Setting
.Va opterr
to a zero will disable these error messages.
If
-.Va optstring
-has a leading
+.Va optstring
+has a leading
.Ql \&:
then a missing option argument causes a
.Ql \&:
@@ -206,13 +206,13 @@ function appeared
The
.Fn getopt
function was once specified to return
-.Dv EOF
+.Dv EOF
instead of \-1.
This was changed by
.St -p1003.2-92
-to decouple
+to decouple
.Fn getopt
-from
+from
.Pa <stdio.h> .
.Pp
A single dash