diff options
-rw-r--r-- | Changelog.md | 3 | ||||
-rw-r--r-- | solc/CommandLineInterface.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Changelog.md b/Changelog.md index 8e639a2d..0518d3b1 100644 --- a/Changelog.md +++ b/Changelog.md @@ -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: diff --git a/solc/CommandLineInterface.cpp b/solc/CommandLineInterface.cpp index f0a34632..2013c506 100644 --- a/solc/CommandLineInterface.cpp +++ b/solc/CommandLineInterface.cpp @@ -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) |