diff mbox

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

Message ID 1415014265-858-4-git-send-email-thomas.wood@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Wood Nov. 3, 2014, 11:31 a.m. UTC
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
---
 tests/testdisplay.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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 }
 	};