From 2b0e74a13bbf131821874211c3ad556f8d9acf7e Mon Sep 17 00:00:00 2001 From: raster Date: Tue, 8 Nov 2011 07:58:20 +0000 Subject: [PATCH] add short opt for --test-win-only git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@64938 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/test.c b/src/bin/test.c index 6fb32a1..048425e 100644 --- a/src/bin/test.c +++ b/src/bin/test.c @@ -502,7 +502,8 @@ elm_main(int argc, char **argv) { /* Just a workaround to make the shot module more * useful with elementary test. */ - if (!strcmp(argv[1], "--test-win-only")) + if ((!strcmp(argv[1], "--test-win-only")) || + (!strcmp(argv[1], "-to"))) { test_win_only = EINA_TRUE; autorun = argv[2]; -- 2.7.4