aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/main.cpp
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2015-02-05 07:21:14 -0500
committerThomas Winget <tewinget@gmail.com>2015-03-01 02:21:19 -0500
commit76289d0e3bf514db589169a464c0f6d45dae7043 (patch)
treed59813521e71fa41a124cfa7d6d30ace54773615 /src/daemon/main.cpp
parentrevert stop_daemon method to use correct exit (diff)
downloadmonero-76289d0e3bf514db589169a464c0f6d45dae7043.tar.xz
Fix tests building -- function signatures changed
Diffstat (limited to 'src/daemon/main.cpp')
-rw-r--r--src/daemon/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp
index 2f95370c0..dd576a680 100644
--- a/src/daemon/main.cpp
+++ b/src/daemon/main.cpp
@@ -60,6 +60,7 @@ int main(int argc, char const * argv[])
po::positional_options_description positional_options;
{
bf::path default_data_dir = daemonizer::get_default_data_dir();
+ bf::path default_testnet_data_dir = {default_data_dir / "testnet"};
// Misc Options
@@ -67,6 +68,7 @@ int main(int argc, char const * argv[])
command_line::add_arg(visible_options, command_line::arg_version);
command_line::add_arg(visible_options, daemon_args::arg_os_version);
command_line::add_arg(visible_options, command_line::arg_data_dir, default_data_dir.string());
+ command_line::add_arg(visible_options, command_line::arg_testnet_data_dir, default_testnet_data_dir.string());
bf::path default_conf = default_data_dir / std::string(CRYPTONOTE_NAME ".conf");
command_line::add_arg(visible_options, daemon_args::arg_config_file, default_conf.string());