svn commit: r267745 - head/lib/libc/stdlib
Pedro Giffuni
pfg at freebsd.org
Fri Jul 4 21:08:25 UTC 2014
On 07/04/14 14:18, Benjamin Kaduk wrote:
> On Sun, Jun 22, 2014 at 4:13 PM, Pedro F. Giffuni <pfg at freebsd.org
> <mailto:pfg at freebsd.org>> wrote:
>
> Author: pfg
> Date: Sun Jun 22 20:13:57 2014
> New Revision: 267745
> URL: http://svnweb.freebsd.org/changeset/base/267745
>
> Log:
> getopt(3): recognize option:: as GNU extension for "optional
> options".
>
> [...]
>
> is to follow.
> +If an individual character is followed by two colons, then the
> +option argument is optional;
> +.Va optarg
> +is set to the rest of the current
> +.Va argv
> +word, or
> +.Dv NULL
> +if there were no more characters in the current word.
> +This is a
> +.Nx
> +extension.
>
>
> .Nx is NetBSD, not GNU...
>
Thanks!
I tried to fix it in r268268 but I am not a documentation expert.
Regards,
Pedro.
> -Ben
More information about the svn-src-all
mailing list