Disallow unknown options in solc

This commit is contained in:
Alex Beregszaszi 2016-10-06 12:23:05 +01:00 committed by Yoichi Hirai
parent e69173f910
commit bab96ee1e0
2 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,9 @@ Features:
* Inline assembly: support both `sucide` and `selfdestruct` opcodes
(note: `suicide` is deprecated)
Bugfixes:
* Disallow unknown options in `solc`
### 0.4.2 (2016-09-17)
Bugfixes:

View File

@ -471,7 +471,7 @@ Allowed options)",
try
{
po::command_line_parser cmdLineParser(_argc, _argv);
cmdLineParser.options(allOptions).positional(filesPositions).allow_unregistered();
cmdLineParser.options(allOptions).positional(filesPositions);
po::store(cmdLineParser.run(), m_args);
}
catch (po::error const& _exception)