Loading...
stdlib/FreeBSD/getopt_long.3 Libc-1244.30.3 Libc-825.26
--- Libc/Libc-1244.30.3/stdlib/FreeBSD/getopt_long.3
+++ Libc/Libc-825.26/stdlib/FreeBSD/getopt_long.3
@@ -29,9 +29,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)getopt.3	8.5 (Berkeley) 4/27/95
-.\" $FreeBSD$
+.\" $FreeBSD: src/lib/libc/stdlib/getopt_long.3,v 1.13 2005/01/20 09:17:04 ru Exp $
 .\"
-.Dd December 25, 2011
+.Dd April 1, 2000
 .Dt GETOPT_LONG 3
 .Os
 .Sh NAME
@@ -130,11 +130,11 @@
 .Pp
 .Bl -tag -width ".Dv optional_argument" -offset indent -compact
 .It Dv no_argument
-no argument to the option is expected
+no argument to the option is expect
 .It Dv required_argument
 an argument to the option is required
 .It Dv optional_argument
-an argument to the option may be presented
+an argument to the option may be presented.
 .El
 .Pp
 If
@@ -239,7 +239,7 @@
 };
 
 bflag = 0;
-while ((ch = getopt_long(argc, argv, "bf:", longopts, NULL)) != -1) {
+while ((ch = getopt_long(argc, argv, "bf:", longopts, NULL)) != -1)
 	switch (ch) {
 	case 'b':
 		bflag = 1;
@@ -256,7 +256,6 @@
 		break;
 	default:
 		usage();
-	}
 }
 argc -= optind;
 argv += optind;
@@ -470,9 +469,9 @@
 .Fn getopt_long
 and
 .Fn getopt_long_only
-functions first appeared in the
+functions first appeared in
 .Tn GNU
-libiberty library.
+libiberty.
 The first
 .Bx
 implementation of