aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoind.cpp
diff options
context:
space:
mode:
authorDaniel Cousens <github@dcousens.com>2015-10-18 21:02:36 +1100
committerDaniel Cousens <github@dcousens.com>2015-10-22 00:07:30 +1100
commit3cb56f37780854bf26650e0872a556da25897a0a (patch)
tree96f6d3088a5205aeb5d181a8e80d43305dc3bc82 /src/bitcoind.cpp
parentd78a880900c15c7a28ae81e6632090f25fea7fce (diff)
downloadbitcoin-3cb56f37780854bf26650e0872a556da25897a0a.tar.xz
*: alias -h for --help
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 b512f74c22..ca05fefb77 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";