Index: runtime/bin/main.cc |
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc |
index d2bcdba02266c10402d97703a03362785fe4daf4..9081f70cdd2aaf8810c4716633120ae2b51519da 100644 |
--- a/runtime/bin/main.cc |
+++ b/runtime/bin/main.cc |
@@ -263,10 +263,9 @@ static bool ProcessMainOptions(const char* option) { |
while (name != NULL) { |
int length = strlen(name); |
if ((option_length >= length) && (strncmp(option, name, length) == 0)) { |
- if (!main_options[i].process(option + length)) { |
- Log::PrintErr("Invalid option specification : '%s'\n", option); |
+ if (main_options[i].process(option + length)) { |
+ return true; |
} |
- return true; |
} |
i += 1; |
name = main_options[i].option_name; |