Index: trunk/vm/vmcore/src/init/parse_arguments.cpp =================================================================== --- trunk/vm/vmcore/src/init/parse_arguments.cpp (revision 487149) +++ trunk/vm/vmcore/src/init/parse_arguments.cpp (working copy) @@ -282,6 +282,7 @@ void parse_vm_arguments(Global_Env *p_env) { + bool print_vm_version = true; #ifdef _DEBUG TRACE2("arguments", "p_env->vm_arguments.nOptions = " << p_env->vm_arguments.nOptions); for (int _i = 0; _i < p_env->vm_arguments.nOptions; _i++) @@ -382,8 +383,11 @@ ECHO(VERSION); LOGGER_EXIT(0); } else if (strcmp(option, "-showversion") == 0) { - // Print the version number and continue - ECHO(VERSION); + if (print_vm_version) { + // Print the version number and continue + ECHO(VERSION); + print_vm_version = false; + } } else if (strcmp(option, "-fullversion") == 0) { // Print the version number and exit ECHO(VM_VERSION);