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

@@ -135,6 +135,9 @@ boost::filesystem::path GetTempPath();
void ShrinkDebugFile();
void runCommand(std::string strCommand);
/** Returns licensing information (for -version) */
std::string LicenseInfo();
inline bool IsSwitchChar(char c)
{
#ifdef WIN32