Unknown solc arguments are now ignored

This commit is contained in:
Lefteris Karapetsas 2014-12-08 13:30:55 +01:00
parent d4d0b07c35
commit 7193ac2edc

View File

@ -66,7 +66,7 @@ int main(int argc, char** argv)
p.add("input-file", -1); p.add("input-file", -1);
po::variables_map vm; po::variables_map vm;
po::store(po::command_line_parser(argc, argv).options(desc).positional(p).run(), vm); po::store(po::command_line_parser(argc, argv).options(desc).positional(p).allow_unregistered().run(), vm);
po::notify(vm); po::notify(vm);
if (vm.count("help")) { if (vm.count("help")) {