add short opt for --test-win-only

SVN revision: 64938
This commit is contained in:
Carsten Haitzler 2011-11-08 07:58:20 +00:00
parent 3c2c7c1560
commit 77803e07ed
1 changed files with 2 additions and 1 deletions

View File

@ -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];