Added command line option --data-dir.

This commit is contained in:
XMRig 2020-03-10 15:57:47 +07:00
parent 64650bf121
commit 8698b73036
No known key found for this signature in database
GPG key ID: 446A53638BE94409
10 changed files with 126 additions and 63 deletions

View file

@ -89,6 +89,7 @@ static const option options[] = {
{ "cpu-no-yield", 0, nullptr, IConfig::YieldKey },
{ "verbose", 0, nullptr, IConfig::VerboseKey },
{ "proxy", 1, nullptr, IConfig::ProxyKey },
{ "data-dir", 1, nullptr, IConfig::DataDirKey },
# ifdef XMRIG_FEATURE_TLS
{ "tls", 0, nullptr, IConfig::TlsKey },
{ "tls-fingerprint", 1, nullptr, IConfig::FingerprintKey },