aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/blockchain_export.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-10-06 10:55:36 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-10-06 10:56:18 +0100
commit8f0cea6355ec38f58323953fb389b02cffc110ca (patch)
tree17fa740e4f46d411ee125c5c74c5e1163cf52cd6 /src/blockchain_utilities/blockchain_export.cpp
parentMerge pull request #2518 (diff)
downloadmonero-8f0cea6355ec38f58323953fb389b02cffc110ca.tar.xz
add a command_line function to check for defaulted options
Diffstat (limited to 'src/blockchain_utilities/blockchain_export.cpp')
-rw-r--r--src/blockchain_utilities/blockchain_export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_utilities/blockchain_export.cpp b/src/blockchain_utilities/blockchain_export.cpp
index 20eca09f2..11f8f63ca 100644
--- a/src/blockchain_utilities/blockchain_export.cpp
+++ b/src/blockchain_utilities/blockchain_export.cpp
@@ -109,7 +109,7 @@ int main(int argc, char* argv[])
}
mlog_configure(mlog_get_default_log_path("monero-blockchain-export.log"), true);
- if (!vm["log-level"].defaulted())
+ if (!command_line::is_arg_defaulted(vm, arg_log_level))
mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str());
else
mlog_set_log(std::string(std::to_string(log_level) + ",bcutil:INFO").c_str());