Auto merge of #2007 - bitcartel:1097_copyright_notice_and_date, r=bitcartel

Closes #1097 so that zcash-cli displays license info like zcashd.

LicenseInfo is refactored from init.cpp to util.cpp so that the
bitcoin-cli makefile target does not need to be modified.
This commit is contained in:
zkbot
2017-01-19 00:56:47 +00:00
6 changed files with 19 additions and 16 deletions

View File

@@ -71,6 +71,8 @@ static bool AppInitRPC(int argc, char* argv[])
" zcash-cli [options] help <command> " + _("Get help for a command") + "\n";
strUsage += "\n" + HelpMessageCli();
} else {
strUsage += LicenseInfo();
}
fprintf(stdout, "%s", strUsage.c_str());