Use early exit for --help and --version options.

This commit is contained in:
XMRig 2019-02-15 09:11:18 +07:00
parent 14e7c82512
commit 70d6e0e62c
12 changed files with 282 additions and 151 deletions

View file

@ -52,7 +52,6 @@ public:
ColorKey = 1002,
ConfigKey = 'c',
DonateLevelKey = 1003,
HelpKey = 'h',
KeepAliveKey = 'k',
LogFileKey = 'l',
PasswordKey = 'p',
@ -66,7 +65,6 @@ public:
UserpassKey = 'O',
VariantKey = 1010,
VerboseKey = 1100,
VersionKey = 'V',
WatchKey = 1105,
TlsKey = 1013,
FingerprintKey = 1014,