Disallow unknown options in solc

This commit is contained in:
Alex Beregszaszi
2016-10-06 16:32:56 +02:00
committed by Yoichi Hirai
parent e69173f910
commit bab96ee1e0
2 changed files with 4 additions and 1 deletions
+3
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:
+1 -1
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)