summaryrefslogtreecommitdiff
path: root/usr.bin/getopt
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-01-26 17:42:54 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-01-26 17:42:54 +0000
commit75435d75635d188e589eccdd74618faffcfae22b (patch)
tree53698b453d855fdd56668e7986994ccb2573f492 /usr.bin/getopt
parent6509f2a92158a5ae0a602a01494b95b9b0c2820a (diff)
after some discussion with otto, remove "errcode=$?;" from getopt's
synopsis: it is really not central to its usage; ok otto millert
Diffstat (limited to 'usr.bin/getopt')
-rw-r--r--usr.bin/getopt/getopt.14
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/getopt/getopt.1 b/usr.bin/getopt/getopt.1
index bc4cec3c881..00336aaa889 100644
--- a/usr.bin/getopt/getopt.1
+++ b/usr.bin/getopt/getopt.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getopt.1,v 1.12 2007/01/24 19:11:14 otto Exp $ -*- nroff -*-
+.\" $OpenBSD: getopt.1,v 1.13 2007/01/26 17:42:53 jmc Exp $ -*- nroff -*-
.\"
.\" This material, written by Henry Spencer, was released by him
.\" into the public domain and is thus not subject to any copyright.
@@ -10,7 +10,7 @@
.Nm getopt
.Nd parse command options
.Sh SYNOPSIS
-.Nm args=`getopt optstring $*`; errcode=$?; set -- $args
+.Nm args=`getopt optstring $*`; set -- $args
.Sh DESCRIPTION
.Nm
is used to break up options in command lines for easy parsing by