aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
author0xb10c <b10c@b10c.me>2024-03-12 16:31:39 +0100
committer0xb10c <b10c@b10c.me>2024-03-23 15:33:50 +0100
commit9a44a20fb790f3be5d5d5d8f5d0f48aac633b2a4 (patch)
treed10ca06059c7bd4485baf92d46a6d6eb4125f5e5 /src/init.cpp
parent3047c3e3a99112c38f118034daa672db70fa4a60 (diff)
init: clarify -test error
See https://github.com/bitcoin/bitcoin/pull/29007#discussion_r1469388717
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 349d4ff1ab..885c0673dd 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1031,7 +1031,7 @@ bool AppInitParameterInteraction(const ArgsManager& args)
if (args.IsArgSet("-test")) {
if (chainparams.GetChainType() != ChainType::REGTEST) {
- return InitError(Untranslated("-test=<option> should only be used in functional tests"));
+ return InitError(Untranslated("-test=<option> can only be used with regtest"));
}
const std::vector<std::string> options = args.GetArgs("-test");
for (const std::string& option : options) {