Closes #1097 so zcash-cli now 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:
Simon
2017-01-09 23:17:48 -08:00
parent 57a0725ae1
commit af02114469
5 changed files with 18 additions and 15 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());