diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-18 16:30:29 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-20 22:58:16 +0000 |
commit | f640512c53caca9d7c3c69802841d174818cf953 (patch) | |
tree | da53dbc70ea82562ac09dd4d7b414c3924c8f7db /src/common/command_line.cpp | |
parent | core: display any fork warning at startup too (diff) | |
download | monero-f640512c53caca9d7c3c69802841d174818cf953.tar.xz |
Optionally query moneropulse DNS records to check for updates
It just checks and prints a message if there is a new version
for now.
Diffstat (limited to 'src/common/command_line.cpp')
-rw-r--r-- | src/common/command_line.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/command_line.cpp b/src/common/command_line.cpp index c3df5c096..8739a93cd 100644 --- a/src/common/command_line.cpp +++ b/src/common/command_line.cpp @@ -120,4 +120,9 @@ namespace command_line , "How many blocks to sync at once during chain synchronization." , BLOCKS_SYNCHRONIZING_DEFAULT_COUNT }; + const command_line::arg_descriptor<std::string> arg_check_updates = { + "check-updates" + , "Check for new versions of monero: [disabled|notify|download|update]" + , "notify" + }; } |