Skip to content

Commit

Permalink
Ignoring unknown options.
Browse files Browse the repository at this point in the history
  • Loading branch information
clemahieu committed Oct 4, 2015
1 parent e6217bd commit ec32f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rai/rai_wallet/entry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit ec32f02

Please sign in to comment.