hermet pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=d11a13079001e94e0e7aa4ab92e60f9b70dd8e8e
commit d11a13079001e94e0e7aa4ab92e60f9b70dd8e8e Author: ChunEon Park <[email protected]> Date: Thu Oct 30 17:00:22 2014 +0900 elementary_test: support --help command line. --- src/bin/test.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/bin/test.c b/src/bin/test.c index 96ebff7..2a21d91 100644 --- a/src/bin/test.c +++ b/src/bin/test.c @@ -908,7 +908,19 @@ elm_main(int argc, char **argv) * the same name as the given param * ex: elementary_test "Box Vert 2" */ if (argc == 2) - autorun = argv[1]; + { + if (!strcmp(argv[1], "--help")) + { + printf("Usages:\n" + "$ elementary_test\n" + "$ elementary_test --test-win-only [TEST_NAME]\n" + "$ elementary_test -to [TEST_NAME]\n\n" + "Examples:\n" + "$ elementary_test -to Button\n\n"); + exit(EXIT_SUCCESS); + } + autorun = argv[1]; + } else if (argc == 3) { /* Just a workaround to make the shot module more --
