Merge pull request #1165 from ethereum/solc-disallow-unknown

Disallow unknown options in solc
This commit is contained in:
Yoichi Hirai 2016-10-06 18:27:00 +02:00 committed by GitHub
commit 2bd80056ed
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)