diff options
author | Matt Corallo <git@bluematt.me> | 2016-11-29 17:51:30 -0800 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2016-12-23 21:30:16 -0500 |
commit | 0cf86a6678413aa03e765a7133f048df4001ff4c (patch) | |
tree | 10846a31ea17a64d66a77f15acc182aeeea43861 /src/bitcoin-tx.cpp | |
parent | 2b5f085ad11b4b354f48d77e66698fa386c8abbd (diff) |
Introduce (and use) an IsArgSet accessor method
Diffstat (limited to 'src/bitcoin-tx.cpp')
-rw-r--r-- | src/bitcoin-tx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp index 816687a45d..d46f330453 100644 --- a/src/bitcoin-tx.cpp +++ b/src/bitcoin-tx.cpp @@ -51,7 +51,7 @@ static int AppInitRawTx(int argc, char* argv[]) fCreateBlank = GetBoolArg("-create", false); - if (argc<2 || mapArgs.count("-?") || mapArgs.count("-h") || mapArgs.count("-help")) + if (argc<2 || IsArgSet("-?") || IsArgSet("-h") || IsArgSet("-help")) { // First part of help message is specific to this utility std::string strUsage = strprintf(_("%s bitcoin-tx utility version"), _(PACKAGE_NAME)) + " " + FormatFullVersion() + "\n\n" + |