summaryrefslogtreecommitdiff
path: root/tests/testdisplay.c
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2014-10-31 15:00:03 +0000
committerThomas Wood <thomas.wood@intel.com>2014-11-06 11:41:34 +0000
commitce0d34d73d240a95193a4a6f82adfe5f4844bb66 (patch)
tree5972483946483c1b0dbc1c2b0ec070b0964100b5 /tests/testdisplay.c
parentdb425d69f62690a95048fde6d5dc515686bfa9ac (diff)
testdiplay: add a "--help" option
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/testdisplay.c')
-rw-r--r--tests/testdisplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index 8c6bc62c..b7e15412 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -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 }
};