*: alias -h for --help

This commit is contained in:
Daniel Cousens
2015-10-18 21:02:36 +11:00
committed by Luke Dashjr
parent 131d7f997c
commit af6edac0bd
4 changed files with 4 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ bool AppInit(int argc, char* argv[])
ParseParameters(argc, argv);
// Process help and version before taking care about datadir
if (mapArgs.count("-?") || mapArgs.count("-help") || mapArgs.count("-version"))
if (mapArgs.count("-?") || mapArgs.count("-h") || mapArgs.count("-help") || mapArgs.count("-version"))
{
std::string strUsage = _("Bitcoin Core Daemon") + " " + _("version") + " " + FormatFullVersion() + "\n";