aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/blockchain_export.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-10-15 18:38:46 +0200
committerRiccardo Spagni <ric@spagni.net>2017-10-15 18:38:46 +0200
commit1280ba4f5ba89f74f9394122dc8a91bb12876d00 (patch)
tree80100180b80b15c5649a3ff5e3985ccbada8a5a7 /src/blockchain_utilities/blockchain_export.cpp
parentMerge pull request #2587 (diff)
parentadd a command_line function to check for defaulted options (diff)
downloadmonero-1280ba4f5ba89f74f9394122dc8a91bb12876d00.tar.xz
Merge pull request #2589
8f0cea63 add a command_line function to check for defaulted options (moneromooo-monero)
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 d27756c66..b5284c471 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());