Chromium Code Reviews| Index: runtime/bin/main.cc |
| diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc |
| index d2bcdba02266c10402d97703a03362785fe4daf4..7e86e4ebb70b13350a66e19cd949eaedd131efcf 100644 |
| --- a/runtime/bin/main.cc |
| +++ b/runtime/bin/main.cc |
| @@ -263,10 +263,7 @@ 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); |
| - } |
| - return true; |
| + if (main_options[i].process(option + length)) return true; |
|
Ivan Posva
2013/06/11 11:44:29
{
return true;
}
Anders Johnsen
2013/06/11 11:55:41
Done.
|
| } |
| i += 1; |
| name = main_options[i].option_name; |