Added "-x" and "--proxy" command line options.
This commit is contained in:
parent
8497e9c54f
commit
2bc5fb10a7
5 changed files with 12 additions and 5 deletions
|
@ -176,6 +176,9 @@ void xmrig::BaseTransform::transform(rapidjson::Document &doc, int key, const ch
|
|||
case IConfig::SelfSelectKey: /* --self-select */
|
||||
return add(doc, Pools::kPools, Pool::kSelfSelect, arg);
|
||||
|
||||
case IConfig::ProxyKey: /* --proxy */
|
||||
return add(doc, Pools::kPools, Pool::kSOCKS5, arg);
|
||||
|
||||
case IConfig::LogFileKey: /* --log-file */
|
||||
return set(doc, BaseConfig::kLogFile, arg);
|
||||
|
||||
|
|
|
@ -66,6 +66,7 @@ public:
|
|||
UserAgentKey = 1008,
|
||||
UserKey = 'u',
|
||||
UserpassKey = 'O',
|
||||
ProxyKey = 'x',
|
||||
VerboseKey = 1100,
|
||||
TlsKey = 1013,
|
||||
FingerprintKey = 1014,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue