summaryrefslogtreecommitdiffstats
path: root/xmrstak/cli/cli-miner.cpp
diff options
context:
space:
mode:
authorUnknown <fireice2@o2.pl>2017-11-13 20:28:16 +0000
committerUnknown <fireice2@o2.pl>2017-11-13 20:28:16 +0000
commit2fe70265070627042a24041eea17e6527d642918 (patch)
tree99560473c1d5932aead143fcb4104a49028221bb /xmrstak/cli/cli-miner.cpp
parentb48ca65c0bfd9b9ccda1083d2955c75ff9c10092 (diff)
downloadxmr-stak-2fe70265070627042a24041eea17e6527d642918.zip
xmr-stak-2fe70265070627042a24041eea17e6527d642918.tar.gz
Added long version as a separate option
Diffstat (limited to 'xmrstak/cli/cli-miner.cpp')
-rw-r--r--xmrstak/cli/cli-miner.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmrstak/cli/cli-miner.cpp b/xmrstak/cli/cli-miner.cpp
index 038b51b..b4de18d 100644
--- a/xmrstak/cli/cli-miner.cpp
+++ b/xmrstak/cli/cli-miner.cpp
@@ -302,6 +302,11 @@ int main(int argc, char *argv[])
std::cout<< "Version: " << get_version_str_short() << std::endl;
return 0;
}
+ else if(opName.compare("-V") == 0 || opName.compare("--version-long") == 0)
+ {
+ std::cout<< "Version: " << get_version_str() << std::endl;
+ return 0;
+ }
else if(opName.compare("--noCPU") == 0)
{
params::inst().useCPU = false;
OpenPOWER on IntegriCloud