mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #1165 from ethereum/solc-disallow-unknown
Disallow unknown options in solc
This commit is contained in:
commit
2bd80056ed
@ -4,6 +4,9 @@ Features:
|
|||||||
* Inline assembly: support both `sucide` and `selfdestruct` opcodes
|
* Inline assembly: support both `sucide` and `selfdestruct` opcodes
|
||||||
(note: `suicide` is deprecated)
|
(note: `suicide` is deprecated)
|
||||||
|
|
||||||
|
Bugfixes:
|
||||||
|
* Disallow unknown options in `solc`
|
||||||
|
|
||||||
### 0.4.2 (2016-09-17)
|
### 0.4.2 (2016-09-17)
|
||||||
|
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
|
@ -471,7 +471,7 @@ Allowed options)",
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
po::command_line_parser cmdLineParser(_argc, _argv);
|
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);
|
po::store(cmdLineParser.run(), m_args);
|
||||||
}
|
}
|
||||||
catch (po::error const& _exception)
|
catch (po::error const& _exception)
|
||||||
|
Loading…
Reference in New Issue
Block a user