mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[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:
parent
f05a07d0cc
commit
d86b5019dc
@ -212,7 +212,7 @@ Phaser::CommandLineParsingResult Phaser::parseCommandLine(int _argc, char** _arg
|
|||||||
if (arguments.count("help") > 0)
|
if (arguments.count("help") > 0)
|
||||||
{
|
{
|
||||||
cout << keywordDescription << endl;
|
cout << keywordDescription << endl;
|
||||||
return {2, move(arguments)};
|
return {0, move(arguments)};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (arguments.count("input-file") == 0)
|
if (arguments.count("input-file") == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user