diff options
| author | Luke Dashjr <[email protected]> | 2015-12-09 10:53:12 +0000 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2015-12-14 02:11:10 +0000 |
| commit | d5f46832de900cee0801ca40bba743c9564cccb8 (patch) | |
| tree | 6cf53662ecd4e95a8803e7e51d6fe59f3e321708 /src/bitcoin-tx.cpp | |
| parent | Merge pull request #7092 (diff) | |
| download | discoin-d5f46832de900cee0801ca40bba743c9564cccb8.tar.xz discoin-d5f46832de900cee0801ca40bba743c9564cccb8.zip | |
Unify package name to as few places as possible without major changes
Diffstat (limited to 'src/bitcoin-tx.cpp')
| -rw-r--r-- | src/bitcoin-tx.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp index 9f8b2b98a..aaa2ef128 100644 --- a/src/bitcoin-tx.cpp +++ b/src/bitcoin-tx.cpp @@ -2,6 +2,10 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. +#if defined(HAVE_CONFIG_H) +#include "config/bitcoin-config.h" +#endif + #include "base58.h" #include "clientversion.h" #include "coins.h" @@ -47,7 +51,7 @@ static bool AppInitRawTx(int argc, char* argv[]) if (argc<2 || mapArgs.count("-?") || mapArgs.count("-h") || mapArgs.count("-help")) { // First part of help message is specific to this utility - std::string strUsage = _("Bitcoin Core bitcoin-tx utility version") + " " + FormatFullVersion() + "\n\n" + + std::string strUsage = strprintf(_("%s bitcoin-tx utility version"), _(PACKAGE_NAME)) + " " + FormatFullVersion() + "\n\n" + _("Usage:") + "\n" + " bitcoin-tx [options] <hex-tx> [commands] " + _("Update hex-encoded bitcoin transaction") + "\n" + " bitcoin-tx [options] -create [commands] " + _("Create hex-encoded bitcoin transaction") + "\n" + |