summaryrefslogtreecommitdiffstats
path: root/xmrstak/cli/cli-miner.cpp
diff options
context:
space:
mode:
authorUnknown <fireice2@o2.pl>2017-11-10 20:39:25 +0000
committerUnknown <fireice2@o2.pl>2017-11-10 20:39:25 +0000
commit8f52eb85b3c39601704560263722a86b2265da05 (patch)
tree86f20ed55c3c28c4ea41d3eb2830b745fee861b7 /xmrstak/cli/cli-miner.cpp
parent0bae47a75488e2fd1bcab8b141976763e4d81e95 (diff)
downloadxmr-stak-8f52eb85b3c39601704560263722a86b2265da05.zip
xmr-stak-8f52eb85b3c39601704560263722a86b2265da05.tar.gz
Versioning final version
Diffstat (limited to 'xmrstak/cli/cli-miner.cpp')
-rw-r--r--xmrstak/cli/cli-miner.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/xmrstak/cli/cli-miner.cpp b/xmrstak/cli/cli-miner.cpp
index d103293..6a6191b 100644
--- a/xmrstak/cli/cli-miner.cpp
+++ b/xmrstak/cli/cli-miner.cpp
@@ -85,7 +85,7 @@ void help()
cout<<" -u, --user USERNAME pool user name or wallet address"<<endl;
cout<<" -p, --pass PASSWD pool password, in the most cases x or empty \"\""<<endl;
cout<<" \n"<<endl;
- cout<<XMR_STAK_NAME << " " << XMR_STAK_VERSION << " " << GIT_COMMIT_HASH << " " << GIT_BRANCH << endl;
+ cout<< "Version: " << get_version_str_short() << endl;
cout<<"Brought to by fireice_uk and psychocrypt under GPLv3."<<endl;
}
@@ -433,17 +433,18 @@ int main(int argc, char *argv[])
#endif
printer::inst()->print_str("-------------------------------------------------------------------\n");
- printer::inst()->print_str( XMR_STAK_NAME" " XMR_STAK_VERSION " mining software.\n");
+ printer::inst()->print_str(get_version_str_short().c_str());
+ printer::inst()->print_str("\n\n");
+ printer::inst()->print_str("Brought to you by fireice_uk and psychocrypt under GPLv3.\n");
printer::inst()->print_str("Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk).\n");
#ifndef CONF_NO_CUDA
- printer::inst()->print_str("NVIDIA mining code was written by KlausT and psychocrypt.\n");
+ printer::inst()->print_str("Original NVIDIA mining code was written by KlausT and psychocrypt.\n");
#endif
#ifndef CONF_NO_OPENCL
- printer::inst()->print_str("AMD mining code was written by wolf9466.\n");
+ printer::inst()->print_str("Original mining code was written by wolf9466.\n");
#endif
- printer::inst()->print_str("Brought to you by fireice_uk and psychocrypt under GPLv3.\n\n");
char buffer[64];
- snprintf(buffer, sizeof(buffer), "Configurable dev donation level is set to %.1f %%\n\n", fDevDonationLevel * 100.0);
+ snprintf(buffer, sizeof(buffer), "\nConfigurable dev donation level is set to %.1f%%\n\n", fDevDonationLevel * 100.0);
printer::inst()->print_str(buffer);
printer::inst()->print_str("You can use following keys to display reports:\n");
printer::inst()->print_str("'h' - hashrate\n");
OpenPOWER on IntegriCloud