testdisplay: Allow getopt to print error messages
authorThomas Wood <thomas.wood@intel.com>
Thu, 10 Oct 2013 11:23:19 +0000 (12:23 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Fri, 11 Oct 2013 12:16:07 +0000 (13:16 +0100)
commitce5becbb616637753e2c7e441c5e019f3864b3f7
treee5c82cf2cd0f566201a635f27de7e829855ad9d4
parentffdece38e2b6aec64b0d96e83cd2324c035b1867
testdisplay: Allow getopt to print error messages

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 <thomas.wood@intel.com>
tests/testdisplay.c