exit immediately if any unrecognized arg is passed on startup

ref T2182
This commit is contained in:
Mike Blumenkrantz 2015-03-06 14:57:58 -05:00
parent 35e1e2488f
commit 28d85ea90a
1 changed files with 2 additions and 1 deletions

View File

@ -1172,7 +1172,8 @@ _e_main_parse_arguments(int argc, char **argv)
e_nopause = EINA_TRUE;
else if ((!strcmp(argv[i], "-h")) ||
(!strcmp(argv[i], "-help")) ||
(!strcmp(argv[i], "--help")))
(!strcmp(argv[i], "--help")) ||
argv[i][0])
{
printf
(_(