aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
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;
}