<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/stdlib/getopt_long.3, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>http://cgit.freebsd.org/src/atom?h=main</id>
<link rel='self' href='http://cgit.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<updated>2025-04-29T19:12:37Z</updated>
<entry>
<title>getopt_long.3: Use "optstring" consistently</title>
<updated>2025-04-29T19:12:37Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2025-04-29T17:00:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ad2a46d0ce305dbcbcedc213865cdec6ee13792b'/>
<id>urn:sha1:ad2a46d0ce305dbcbcedc213865cdec6ee13792b</id>
<content type='text'>
The SYNOPSIS uses "optstring" as the argument name but the body text
used a mixture of "optstr" and "optstring."

Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>lib: Remove ancient SCCS tags.</title>
<updated>2023-11-27T05:23:28Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-11-23T17:21:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=dc36d6f9bb1753f3808552f3afd30eda9a7b206a'/>
<id>urn:sha1:dc36d6f9bb1753f3808552f3afd30eda9a7b206a</id>
<content type='text'>
Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by:		Netflix
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line nroff pattern</title>
<updated>2023-08-16T17:55:15Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b2c76c41be32f904179efed29c0ca04d53f3996c'/>
<id>urn:sha1:b2c76c41be32f904179efed29c0ca04d53f3996c</id>
<content type='text'>
Remove /^\.\\"\s*\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>getopt_long(3): note an inconsistency with getopt(3) in BUGS</title>
<updated>2023-02-11T05:32:50Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2023-02-11T05:31:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d646513e57c9d59a7c0cc27a4d41518110db4359'/>
<id>urn:sha1:d646513e57c9d59a7c0cc27a4d41518110db4359</id>
<content type='text'>
getopt_long(3) will not allow an `optind` setting of 0 to be bug-for-bug
compatible with the GNU implementation, as some software does rely on
it.  Document it as a BUG, since it affects previous declarations of
compatibility with getopt(3).

Reviewed by:	pauamma (markup)
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D37867
</content>
</entry>
<entry>
<title>Fix a typo: argments -&gt; arguments</title>
<updated>2020-05-19T11:05:27Z</updated>
<author>
<name>Benedict Reuschling</name>
<email>bcr@FreeBSD.org</email>
</author>
<published>2020-05-19T11:05:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d50ff7de21069d65c972cb7d4e95d7fafc098117'/>
<id>urn:sha1:d50ff7de21069d65c972cb7d4e95d7fafc098117</id>
<content type='text'>
PR:		243294
Submitted by:	Igor Ostapenko
MFC after:	5 days
</content>
</entry>
<entry>
<title>getopt_long(3): Document behavior of leading characters in optstring</title>
<updated>2018-08-12T00:08:14Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2018-08-12T00:08:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3b89018938ac8773e7432e110ec86f874b876f4f'/>
<id>urn:sha1:3b89018938ac8773e7432e110ec86f874b876f4f</id>
<content type='text'>
Leading '+', '-', and ':' in optstring have special meaning. We briefly
mention that the first two have special meaning in that we say
POSIXLY_CORRECT turns them off, but we don't actually document their
meaning. Add a paragraph to RETURN VALUES explaining how they control
the treatment of non-option arguments.

A leading ':' has no mention; add a note that it suppresses warnings about
missing arguments.

Reviewed by:	jilles
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D14142
</content>
</entry>
<entry>
<title>getopt_long.3: wording quibbles</title>
<updated>2013-12-13T21:50:03Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2013-12-13T21:50:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0603b75a7afa58e162c0055fd4992c9bb8ffff6c'/>
<id>urn:sha1:0603b75a7afa58e162c0055fd4992c9bb8ffff6c</id>
<content type='text'>
- Make wording more clear: "is expect" vs "is expected" [1]
- Remove extraneous trailing period..

Reported by:	dim [1]
</content>
</entry>
<entry>
<title>Add missing opening and closing brackets in getopt_long.3 and getsubopt.3</title>
<updated>2011-12-26T03:14:37Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2011-12-26T03:14:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bd45f5676d4ee95d5460a9b62cd346c3e01fc614'/>
<id>urn:sha1:bd45f5676d4ee95d5460a9b62cd346c3e01fc614</id>
<content type='text'>
to make the examples reflect reality more closely.

MFC after:	1 week
X-MFC-After:	9.0-RELEASE
</content>
</entry>
<entry>
<title>Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while</title>
<updated>2010-08-16T15:18:30Z</updated>
<author>
<name>Joel Dahl</name>
<email>joel@FreeBSD.org</email>
</author>
<published>2010-08-16T15:18:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c2025a76606b44c4d5367b7509fbc0285ae1e7f8'/>
<id>urn:sha1:c2025a76606b44c4d5367b7509fbc0285ae1e7f8</id>
<content type='text'>
translating these manual pages.  Minor corrections by me.

Submitted by:	Nobuyuki Koganemaru &lt;n-kogane@syd.odn.ne.jp&gt;
</content>
</entry>
<entry>
<title>Sort sections.</title>
<updated>2005-01-20T09:17:07Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-01-20T09:17:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=24a0682c6465290759ed0b09ea16e40e7cd47053'/>
<id>urn:sha1:24a0682c6465290759ed0b09ea16e40e7cd47053</id>
<content type='text'>
</content>
</entry>
</feed>
