Fix parse of "-v" option.

This commit is contained in:
Ruben Ayrapetyan
2015-02-13 22:12:07 +03:00
parent 32dc41e795
commit b3cfd40478
+1 -1
View File
@@ -137,7 +137,7 @@ main (int argc,
printf ("Branch name:\t%s\n", jerry_branch_name);
printf ("\n");
}
if (!strcmp ("--mem-stats", argv[i]))
else if (!strcmp ("--mem-stats", argv[i]))
{
#ifdef MEM_STATS
flags |= JERRY_FLAG_MEM_STATS;