aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorZachary Michaels <mikezackles@gmail.com>2014-09-08 17:30:50 -0400
committerRiccardo Spagni <ric@spagni.net>2014-09-15 15:54:19 +0200
commit018e251cc089746437afb9dc88978a8a88fe64a2 (patch)
tree044b035494323a7f7929af547b0b681eb2688724 /src/common
parentAdd descriptions for RPC command line params (diff)
downloadmonero-018e251cc089746437afb9dc88978a8a88fe64a2.tar.xz
Separate testnet default data dir
Diffstat (limited to 'src/common')
-rw-r--r--src/common/command_line.cpp1
-rw-r--r--src/common/command_line.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/command_line.cpp b/src/common/command_line.cpp
index 6f831af55..a2e7faf9f 100644
--- a/src/common/command_line.cpp
+++ b/src/common/command_line.cpp
@@ -47,4 +47,5 @@ namespace command_line
const arg_descriptor<bool> arg_help = {"help", "Produce help message"};
const arg_descriptor<bool> arg_version = {"version", "Output version information"};
const arg_descriptor<std::string> arg_data_dir = {"data-dir", "Specify data directory"};
+ const arg_descriptor<std::string> arg_testnet_data_dir = {"testnet-data-dir", "Specify testnet data directory"};
}
diff --git a/src/common/command_line.h b/src/common/command_line.h
index ca02c6088..09ae877d3 100644
--- a/src/common/command_line.h
+++ b/src/common/command_line.h
@@ -203,4 +203,5 @@ namespace command_line
extern const arg_descriptor<bool> arg_help;
extern const arg_descriptor<bool> arg_version;
extern const arg_descriptor<std::string> arg_data_dir;
+ extern const arg_descriptor<std::string> arg_testnet_data_dir;
}