tests: remove data-dir argument registration

It is already registered in cryptonote::core::init_options,
which we now call
This commit is contained in:
moneromooo-monero 2015-12-09 17:30:30 +00:00
parent e175205e6e
commit f141869cac
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 0 additions and 1 deletions

View File

@ -474,7 +474,6 @@ inline bool do_replay_events(std::vector<test_event_entry>& events)
{ {
boost::program_options::options_description desc("Allowed options"); boost::program_options::options_description desc("Allowed options");
cryptonote::core::init_options(desc); cryptonote::core::init_options(desc);
command_line::add_arg(desc, command_line::arg_data_dir);
boost::program_options::variables_map vm; boost::program_options::variables_map vm;
bool r = command_line::handle_error_helper(desc, [&]() bool r = command_line::handle_error_helper(desc, [&]()
{ {