Thomas Wood db425d69f6 testdisplay: ensure invalid long option exit status is non-zero
The optopt variable is not set if an invalid long option is used, so
check the current option character instead.

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-11-06 11:41:34 +00:00
..
2014-09-05 16:52:51 +01:00
2012-04-10 16:23:18 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 12:33:02 +01:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 09:56:53 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 09:56:53 +02:00
2014-03-23 13:47:09 +01:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-06-13 18:27:59 +02:00
2014-05-14 00:36:04 +02:00
2014-09-30 16:46:28 +03:00
2013-11-01 21:10:59 +01:00
2014-06-13 18:27:59 +02:00
2012-01-15 16:05:43 +01:00