Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2014 15:18:58 -0400
From:      Benjamin Kaduk <bjkfbsd@gmail.com>
To:        "Pedro F. Giffuni" <pfg@freebsd.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r267745 - head/lib/libc/stdlib
Message-ID:  <CAJ5_RoCmwyWRNO4LBkdOeNh32k0CWLtYqHPXReJuUTGGBUD9TQ@mail.gmail.com>
In-Reply-To: <201406222013.s5MKDwHw045376@svn.freebsd.org>
References:  <201406222013.s5MKDwHw045376@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 22, 2014 at 4:13 PM, Pedro F. Giffuni <pfg@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...

-Ben



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5_RoCmwyWRNO4LBkdOeNh32k0CWLtYqHPXReJuUTGGBUD9TQ>