From 3aac7209780829f6d685965b24a5671b5a30097d Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Mon, 8 Dec 2014 13:30:55 +0100 Subject: [PATCH] Unknown solc arguments are now ignored --- solc/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solc/main.cpp b/solc/main.cpp index 1f8348746..6b16c1249 100644 --- a/solc/main.cpp +++ b/solc/main.cpp @@ -66,7 +66,7 @@ int main(int argc, char** argv) p.add("input-file", -1); 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); if (vm.count("help")) {