Re: [PATCH wayland 1/3] scanner: support help and --help

2013-08-07 Thread Kristian Høgsberg
On Wed, Aug 07, 2013 at 11:05:57AM +1000, Peter Hutterer wrote: > wayland-scanner without arguments prints out usage. With help or --help it > waits for stdin to supply something which isn't quite as informative as > printing out the help. > > This patch also moves the strcmp for args up to have a

[PATCH wayland 1/3] scanner: support help and --help

2013-08-06 Thread Peter Hutterer
wayland-scanner without arguments prints out usage. With help or --help it waits for stdin to supply something which isn't quite as informative as printing out the help. This patch also moves the strcmp for args up to have all of them in one location. --- src/scanner.c | 29 ++