From f141869cac2c099da0e121c4723951d4ac7c36f6 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 9 Dec 2015 17:30:30 +0000 Subject: [PATCH] tests: remove data-dir argument registration It is already registered in cryptonote::core::init_options, which we now call --- tests/core_tests/chaingen.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/core_tests/chaingen.h b/tests/core_tests/chaingen.h index 0c33b942..7c989b94 100644 --- a/tests/core_tests/chaingen.h +++ b/tests/core_tests/chaingen.h @@ -474,7 +474,6 @@ inline bool do_replay_events(std::vector& events) { boost::program_options::options_description desc("Allowed options"); cryptonote::core::init_options(desc); - command_line::add_arg(desc, command_line::arg_data_dir); boost::program_options::variables_map vm; bool r = command_line::handle_error_helper(desc, [&]() {