Re: [Intel-gfx] [PATCH i-g-t] testdisplay: Allow getopt to print error messages

2013-10-11 Thread Damien Lespiau
On Thu, Oct 10, 2013 at 12:23:19PM +0100, Thomas Wood wrote: > By not assigning opterr, getopt will print its own error message that > includes information about whether an option is unknown or just requires > an additional argument. > > Signed-off-by: Thomas Wood Look good to me, pushed. Thanks

[Intel-gfx] [PATCH i-g-t] testdisplay: Allow getopt to print error messages

2013-10-10 Thread Thomas Wood
By not assigning opterr, getopt will print its own error message that includes information about whether an option is unknown or just requires an additional argument. Signed-off-by: Thomas Wood --- tests/testdisplay.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/testdisplay.c b/tes