Skip to content

Commit 9a44a20

Browse files
committed
init: clarify -test error
See bitcoin/bitcoin#29007 (comment)
1 parent 3047c3e commit 9a44a20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ bool AppInitParameterInteraction(const ArgsManager& args)
10311031

10321032
if (args.IsArgSet("-test")) {
10331033
if (chainparams.GetChainType() != ChainType::REGTEST) {
1034-
return InitError(Untranslated("-test=<option> should only be used in functional tests"));
1034+
return InitError(Untranslated("-test=<option> can only be used with regtest"));
10351035
}
10361036
const std::vector<std::string> options = args.GetArgs("-test");
10371037
for (const std::string& option : options) {

0 commit comments

Comments
 (0)