Added command line option --verbose.

This commit is contained in:
XMRig 2019-12-17 22:03:50 +07:00
parent f8865b1498
commit 3cc8b19ca0
No known key found for this signature in database
GPG key ID: 446A53638BE94409
4 changed files with 7 additions and 0 deletions

View file

@ -87,6 +87,7 @@ static const option options[] = {
{ "cpu-max-threads-hint", 1, nullptr, IConfig::CPUMaxThreadsKey },
{ "cpu-memory-pool", 1, nullptr, IConfig::MemoryPoolKey },
{ "cpu-no-yield", 0, nullptr, IConfig::YieldKey },
{ "verbose", 0, nullptr, IConfig::VerboseKey },
# ifdef XMRIG_FEATURE_TLS
{ "tls", 0, nullptr, IConfig::TlsKey },
{ "tls-fingerprint", 1, nullptr, IConfig::FingerprintKey },

View file

@ -136,6 +136,7 @@ static inline const std::string &usage()
u += " --health-print-time=N print health report every N seconds\n";
# endif
u += " --no-color disable colored output\n";
u += " --verbose verbose output\n";
u += "\nMisc:\n";