mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 20:19:23 +00:00
Cleanup usage output.
This commit is contained in:
parent
ccded7cc0a
commit
109c088e8a
1 changed files with 12 additions and 12 deletions
|
@ -93,8 +93,8 @@ static inline const std::string &usage()
|
||||||
u += " --randomx-init=N threads count to initialize RandomX dataset\n";
|
u += " --randomx-init=N threads count to initialize RandomX dataset\n";
|
||||||
u += " --randomx-no-numa disable NUMA support for RandomX\n";
|
u += " --randomx-no-numa disable NUMA support for RandomX\n";
|
||||||
u += " --randomx-mode=MODE RandomX mode: auto, fast, light\n";
|
u += " --randomx-mode=MODE RandomX mode: auto, fast, light\n";
|
||||||
u += " --randomx-1gb-pages use 1GB hugepages for dataset (Linux only)\n";
|
u += " --randomx-1gb-pages use 1GB hugepages for RandomX dataset (Linux only)\n";
|
||||||
u += " --randomx-wrmsr=N write custom value (0-15) to Intel MSR register 0x1a4 or disable MSR mod (-1)\n";
|
u += " --randomx-wrmsr=N write custom value(s) to MSR registers or disable MSR mod (-1)\n";
|
||||||
u += " --randomx-no-rdmsr disable reverting initial MSR values on exit\n";
|
u += " --randomx-no-rdmsr disable reverting initial MSR values on exit\n";
|
||||||
u += " --randomx-cache-qos enable Cache QoS\n";
|
u += " --randomx-cache-qos enable Cache QoS\n";
|
||||||
# endif
|
# endif
|
||||||
|
@ -104,16 +104,6 @@ static inline const std::string &usage()
|
||||||
u += " --astrobwt-avx2 enable AVX2 optimizations for AstroBWT algorithm";
|
u += " --astrobwt-avx2 enable AVX2 optimizations for AstroBWT algorithm";
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# ifdef XMRIG_FEATURE_HTTP
|
|
||||||
u += "\nAPI:\n";
|
|
||||||
u += " --api-worker-id=ID custom worker-id for API\n";
|
|
||||||
u += " --api-id=ID custom instance ID for API\n";
|
|
||||||
u += " --http-host=HOST bind host for HTTP API (default: 127.0.0.1)\n";
|
|
||||||
u += " --http-port=N bind port for HTTP API\n";
|
|
||||||
u += " --http-access-token=T access token for HTTP API\n";
|
|
||||||
u += " --http-no-restricted enable full remote access to HTTP API (only if access token set)\n";
|
|
||||||
# endif
|
|
||||||
|
|
||||||
# ifdef XMRIG_FEATURE_OPENCL
|
# ifdef XMRIG_FEATURE_OPENCL
|
||||||
u += "\nOpenCL backend:\n";
|
u += "\nOpenCL backend:\n";
|
||||||
u += " --opencl enable OpenCL mining backend\n";
|
u += " --opencl enable OpenCL mining backend\n";
|
||||||
|
@ -136,6 +126,16 @@ static inline const std::string &usage()
|
||||||
u += " --no-nvml disable NVML (NVIDIA Management Library) support\n";
|
u += " --no-nvml disable NVML (NVIDIA Management Library) support\n";
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
# ifdef XMRIG_FEATURE_HTTP
|
||||||
|
u += "\nAPI:\n";
|
||||||
|
u += " --api-worker-id=ID custom worker-id for API\n";
|
||||||
|
u += " --api-id=ID custom instance ID for API\n";
|
||||||
|
u += " --http-host=HOST bind host for HTTP API (default: 127.0.0.1)\n";
|
||||||
|
u += " --http-port=N bind port for HTTP API\n";
|
||||||
|
u += " --http-access-token=T access token for HTTP API\n";
|
||||||
|
u += " --http-no-restricted enable full remote access to HTTP API (only if access token set)\n";
|
||||||
|
# endif
|
||||||
|
|
||||||
# ifdef XMRIG_FEATURE_TLS
|
# ifdef XMRIG_FEATURE_TLS
|
||||||
u += "\nTLS:\n";
|
u += "\nTLS:\n";
|
||||||
u += " --tls-gen=HOSTNAME generate TLS certificate for specific hostname\n";
|
u += " --tls-gen=HOSTNAME generate TLS certificate for specific hostname\n";
|
||||||
|
|
Loading…
Reference in a new issue