testdiplay: add a "--help" option
authorThomas Wood <thomas.wood@intel.com>
Fri, 31 Oct 2014 15:00:03 +0000 (15:00 +0000)
committerThomas Wood <thomas.wood@intel.com>
Thu, 6 Nov 2014 11:41:34 +0000 (11:41 +0000)
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
tests/testdisplay.c

index 8c6bc62..b7e1541 100644 (file)
@@ -642,6 +642,7 @@ int main(int argc, char **argv)
        struct option long_opts[] = {
                {"list-subtests", 0, 0, SUBTEST_OPTS},
                {"run-subtest", 1, 0, SUBTEST_OPTS},
+               {"help", 0, 0, 'h'},
                { 0, 0, 0, 0 }
        };