aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoind.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-10-22 17:51:13 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-10-22 17:53:07 +0200
commit2cd020d054d6ec4b50eb44ffa4000b40540a4db0 (patch)
tree21f35c08c8199f44974b5a3edc6f7c737fd09625 /src/bitcoind.cpp
parenta09297010e171af28a7a3fcad65a4e0aefea53ba (diff)
parent3cb56f37780854bf26650e0872a556da25897a0a (diff)
Merge pull request #6846
3cb56f3 *: alias -h for --help (Daniel Cousens)
Diffstat (limited to 'src/bitcoind.cpp')
-rw-r--r--src/bitcoind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp
index 284a42b326..d2af897242 100644
--- a/src/bitcoind.cpp
+++ b/src/bitcoind.cpp
@@ -72,7 +72,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";