diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2016-10-06 19:23:05 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2016-10-06 22:32:56 +0800 |
commit | bab96ee1e0b16c4793595bc263829a14fadffbff (patch) | |
tree | 63a5d3ced15f0334b078ac294b45eac1011dd0fe /solc/CommandLineInterface.cpp | |
parent | e69173f910e8454a7dc13f79598e7e9fd5c147c9 (diff) | |
download | dexon-solidity-bab96ee1e0b16c4793595bc263829a14fadffbff.tar dexon-solidity-bab96ee1e0b16c4793595bc263829a14fadffbff.tar.gz dexon-solidity-bab96ee1e0b16c4793595bc263829a14fadffbff.tar.bz2 dexon-solidity-bab96ee1e0b16c4793595bc263829a14fadffbff.tar.lz dexon-solidity-bab96ee1e0b16c4793595bc263829a14fadffbff.tar.xz dexon-solidity-bab96ee1e0b16c4793595bc263829a14fadffbff.tar.zst dexon-solidity-bab96ee1e0b16c4793595bc263829a14fadffbff.zip |
Disallow unknown options in solc
Diffstat (limited to 'solc/CommandLineInterface.cpp')
-rw-r--r-- | solc/CommandLineInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |