summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/getopt.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/getopt.3')
-rw-r--r--src/lib/libc/stdlib/getopt.310
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3
index d25b497035..ce85f678df 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.22 2003/05/10 06:48:30 jmc Exp $ 32.\" $OpenBSD: getopt.3,v 1.23 2003/06/01 19:27:27 jmc Exp $
33.\" 33.\"
34.Dd December 8, 2002 34.Dd December 8, 2002
35.Dt GETOPT 3 35.Dt GETOPT 3
@@ -174,10 +174,6 @@ while ((ch = getopt(argc, argv, "bf:")) != -1) {
174argc -= optind; 174argc -= optind;
175argv += optind; 175argv += optind;
176.Ed 176.Ed
177.Sh SEE ALSO
178.Xr getopt 1 ,
179.Xr getopt_long 3 ,
180.Xr getsubopt 3
181.Sh DIAGNOSTICS 177.Sh DIAGNOSTICS
182If the 178If the
183.Fn getopt 179.Fn getopt
@@ -202,6 +198,10 @@ to be returned in addition to suppressing any error messages.
202Option arguments are allowed to begin with 198Option arguments are allowed to begin with
203.Ql - ; 199.Ql - ;
204this is reasonable but reduces the amount of error checking possible. 200this is reasonable but reduces the amount of error checking possible.
201.Sh SEE ALSO
202.Xr getopt 1 ,
203.Xr getopt_long 3 ,
204.Xr getsubopt 3
205.Sh EXTENSIONS 205.Sh EXTENSIONS
206The 206The
207.Va optreset 207.Va optreset