testdiplay: add a "--help" option

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Thomas Wood 2014-10-31 15:00:03 +00:00
parent db425d69f6
commit ce0d34d73d

View File

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