Add security warning to zcash-cli --help and --version message output

This commit is contained in:
Jay Graber 2017-03-23 18:13:09 -07:00
parent 7d9bf65501
commit efa9c265c4
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ static bool AppInitRPC(int argc, char* argv[])
ParseParameters(argc, argv);
if (argc<2 || mapArgs.count("-?") || mapArgs.count("-h") || mapArgs.count("-help") || mapArgs.count("-version")) {
std::string strUsage = _("Zcash RPC client version") + " " + FormatFullVersion() + "\n";
strUsage += "\n" + _("In order to ensure you are adequately protecting your privacy when using Zcash, please see https://z.cash/support/security.html") + "\n";
if (!mapArgs.count("-version")) {
strUsage += "\n" + _("Usage:") + "\n" +
" zcash-cli [options] <command> [params] " + _("Send command to Zcash") + "\n" +