Added command line option --daemon and --daemon-poll-interval

This commit is contained in:
XMRig
2019-04-12 18:30:08 +07:00
parent 5e369a5af8
commit 867478b983
4 changed files with 71 additions and 42 deletions

View File

@@ -82,6 +82,8 @@ static const option options[] = {
{ "tls", 0, nullptr, IConfig::TlsKey },
{ "tls-fingerprint", 1, nullptr, IConfig::FingerprintKey },
{ "asm", 1, nullptr, IConfig::AssemblyKey },
{ "daemon", 0, nullptr, IConfig::DaemonKey },
{ "daemon-poll-interval", 1, nullptr, IConfig::DaemonPollKey },
# ifdef XMRIG_DEPRECATED
{ "api-port", 1, nullptr, IConfig::ApiPort },