[PATCH wayland v2 2/3] scanner: add a new --include-core-only option
spitzak at gmail.com
Wed Apr 29 09:17:33 PDT 2015
On 04/29/2015 03:10 AM, Pekka Paalanen wrote:
> Weston had a good reason to not use getopt() I believe: each module
> parses its own arguments in turn, so command line options are parsed in
> several passes, and an unknown option is an error only when all modules
> have had a go.
The client programs are also using the wayland option parser, so it
would be consistent.
Depending on getopt is probably not a great idea. It is not a trivial
thing and would be like depending on glib.
More information about the wayland-devel