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.
_______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel