From b3cfd4047842f0f1be540f323089c69b1dc3d760 Mon Sep 17 00:00:00 2001 From: Ruben Ayrapetyan Date: Fri, 13 Feb 2015 22:12:07 +0300 Subject: [PATCH] Fix parse of "-v" option. --- src/main_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main_linux.cpp b/src/main_linux.cpp index fe9de5d43..3107625b4 100644 --- a/src/main_linux.cpp +++ b/src/main_linux.cpp @@ -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;