diff options
author | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-11-30 22:04:47 +0100 |
---|---|---|
committer | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-12-01 10:21:03 +0100 |
commit | b203d4b43cb498aa7670c091b0d10aea456f24ed (patch) | |
tree | bb0a69774a90b9425e10898bd4f2600076243230 /xmrstak/cli/cli-miner.cpp | |
parent | bd8d84a62f4a48580edae69ce649959237f874f4 (diff) | |
download | xmr-stak-b203d4b43cb498aa7670c091b0d10aea456f24ed.zip xmr-stak-b203d4b43cb498aa7670c091b0d10aea456f24ed.tar.gz |
add environment variable `XMRSTAK_NOWAIT`
- add documentation
- add environment variable `XMRSTAK_NOWAIT`
Diffstat (limited to 'xmrstak/cli/cli-miner.cpp')
-rw-r--r-- | xmrstak/cli/cli-miner.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmrstak/cli/cli-miner.cpp b/xmrstak/cli/cli-miner.cpp index e152a02..e32733b 100644 --- a/xmrstak/cli/cli-miner.cpp +++ b/xmrstak/cli/cli-miner.cpp @@ -87,6 +87,12 @@ 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; +#ifdef _WIN32 + cout<<"Environment variables:\n"<<endl; + cout<<" XMRSTAK_NOWAIT disable the dialog `Press any key to exit."<<std::endl; + cout<<" for non UAC execution"<<endl; + cout<<" \n"<<endl; +#endif cout<< "Version: " << get_version_str_short() << endl; cout<<"Brought to by fireice_uk and psychocrypt under GPLv3."<<endl; } |