[yul-phaser] Phaser: Returning exit code 0 instead of 2 when --help is requested

- I don't think we really need to discern it from normal operation. It's what user requested so it's a success.
This commit is contained in:
Kamil Śliwak
2020-03-16 20:32:59 +01:00
parent f05a07d0cc
commit d86b5019dc
+1 -1
View File
@@ -212,7 +212,7 @@ Phaser::CommandLineParsingResult Phaser::parseCommandLine(int _argc, char** _arg
if (arguments.count("help") > 0)
{
cout << keywordDescription << endl;
return {2, move(arguments)};
return {0, move(arguments)};
}
if (arguments.count("input-file") == 0)