Added API docs and bug fixes.

This commit is contained in:
XMRig 2018-04-18 09:58:06 +07:00
parent d04a1fcb8f
commit bc67216f7f
8 changed files with 261 additions and 5 deletions

View file

@ -205,12 +205,12 @@ bool xmrig::CommonConfig::parseString(int key, const char *arg)
case SyslogKey: /* --syslog */
case KeepAliveKey: /* --keepalive */
case NicehashKey: /* --nicehash */
case ApiIPv6Key: /* --api-ipv6 */
return parseBoolean(key, true);
case ColorKey: /* --no-color */
case WatchKey: /* --no-watch */
case ApiRestrictedKey: /* --api-no-restricted */
case ApiIPv6Key: /* --api-no-ipv6 */
return parseBoolean(key, false);
case DonateLevelKey: /* --donate-level */