aboutsummaryrefslogtreecommitdiff
path: root/src/common/command_line.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-30 23:59:52 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-12 19:04:44 +0100
commitc6e200a8ab36633f1a3598f54e9e9f8ca5b6c461 (patch)
treeea6daba17f812353d05ac4d2413cca21bff93871 /src/common/command_line.h
parentMerge pull request #2271 (diff)
downloadmonero-c6e200a8ab36633f1a3598f54e9e9f8ca5b6c461.tar.xz
core: add --db-salvage command line flag
Use to load the database when the primary meta page is corrupted
Diffstat (limited to '')
-rw-r--r--src/common/command_line.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/command_line.h b/src/common/command_line.h
index 2110b8849..03ba35a5b 100644
--- a/src/common/command_line.h
+++ b/src/common/command_line.h
@@ -214,6 +214,7 @@ namespace command_line
extern const arg_descriptor<bool> arg_dns_checkpoints;
extern const arg_descriptor<std::string> arg_db_type;
extern const arg_descriptor<std::string> arg_db_sync_mode;
+ extern const arg_descriptor<bool, false> arg_db_salvage;
extern const arg_descriptor<uint64_t> arg_fast_block_sync;
extern const arg_descriptor<uint64_t> arg_prep_blocks_threads;
extern const arg_descriptor<uint64_t> arg_show_time_stats;