diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-12-01 15:13:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-01 15:13:03 +0000 |
commit | 2920e9a3227da307b04ee23ecc5c63ecee4a224c (patch) | |
tree | cbb1c5f5997dd528519892e04938f9433e42f539 /xmrstak/cli/cli-miner.cpp | |
parent | 4f7699eb4574ae89e6299aafc410dcd4143b52e2 (diff) | |
parent | b203d4b43cb498aa7670c091b0d10aea456f24ed (diff) | |
download | xmr-stak-2920e9a3227da307b04ee23ecc5c63ecee4a224c.zip xmr-stak-2920e9a3227da307b04ee23ecc5c63ecee4a224c.tar.gz |
Merge pull request #306 from psychocrypt/topic-noWaitWindows
add environment variable `XMRSTAK_NOWIT`
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; } |