[PATCH i-g-t 4/5] testdiplay: add a "--help" option

Thomas Wood
2014-11-03T11:31:10Z

tests/testdisplay.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index 8c6bc62..b7e1541 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 }
};