From ec32f0291b4549d6a076b86c727c1eba6546dcc8 Mon Sep 17 00:00:00 2001 From: clemahieu Date: Sun, 4 Oct 2015 10:05:50 -0500 Subject: [PATCH] Ignoring unknown options. --- rai/rai_wallet/entry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rai/rai_wallet/entry.cpp b/rai/rai_wallet/entry.cpp index 2fe5cc93f8..6246ee03ba 100644 --- a/rai/rai_wallet/entry.cpp +++ b/rai/rai_wallet/entry.cpp @@ -159,7 +159,7 @@ int main (int argc, char * const * argv) description.add_options () ("help", "Print out options"); rai::add_node_options (description); boost::program_options::variables_map vm; - boost::program_options::store (boost::program_options::parse_command_line(argc, argv, description), vm); + boost::program_options::store (boost::program_options::command_line_parser (argc, argv).options (description).allow_unregistered ().run (), vm); boost::program_options::notify (vm); int result (0); if (!rai::handle_node_options (vm))