summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/stdlib/getopt.312
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3
index 01caf960e8..1e1e14f084 100644
--- a/src/lib/libc/stdlib/getopt.3
+++ b/src/lib/libc/stdlib/getopt.3
@@ -29,7 +29,7 @@
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE. 30.\" SUCH DAMAGE.
31.\" 31.\"
32.\" $OpenBSD: getopt.3,v 1.3 1997/04/03 07:22:31 deraadt Exp $ 32.\" $OpenBSD: getopt.3,v 1.4 1997/06/02 11:13:33 deraadt Exp $
33.\" 33.\"
34.Dd April 19, 1994 34.Dd April 19, 1994
35.Dt GETOPT 3 35.Dt GETOPT 3
@@ -137,12 +137,12 @@ returns \-1.
137If the 137If the
138.Fn getopt 138.Fn getopt
139function encounters a character not found in the string 139function encounters a character not found in the string
140.Va optarg 140.Va optstring
141or detects 141or detects
142a missing option argument it writes an error message and returns 142a missing option argument it writes an error message to
143.Ql ? 143.Em stderr
144to the 144and returns
145.Em stderr . 145.Ql ? .
146Setting 146Setting
147.Va opterr 147.Va opterr
148to a zero will disable these error messages. 148to a zero will disable these error messages.