aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-09 17:30:30 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-09 17:31:15 +0000
commitf141869cac2c099da0e121c4723951d4ac7c36f6 (patch)
treec99bd8c8fa791d1175f80d26b8f41a4f0b45eab8
parentMerge pull request #527 (diff)
downloadmonero-f141869cac2c099da0e121c4723951d4ac7c36f6.tar.xz
tests: remove data-dir argument registration
It is already registered in cryptonote::core::init_options, which we now call
-rw-r--r--tests/core_tests/chaingen.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/core_tests/chaingen.h b/tests/core_tests/chaingen.h
index 0c33b942e..7c989b94f 100644
--- a/tests/core_tests/chaingen.h
+++ b/tests/core_tests/chaingen.h
@@ -474,7 +474,6 @@ inline bool do_replay_events(std::vector<test_event_entry>& 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, [&]()
{