Added command line option --data-dir.

This commit is contained in:
XMRig
2020-03-10 15:57:47 +07:00
parent 64650bf121
commit 8698b73036
10 changed files with 125 additions and 62 deletions
+1
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 },