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 e8d408650f
commit 691c5187c2
1 changed files with 2 additions and 1 deletions

View File

@ -1183,7 +1183,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
(_(