Skip to content

Commit 57e8b7a

Browse files
committed
refactor: Clean up includeconf comments
Suggested by Antoine Riard <[email protected]> bitcoin/bitcoin#15934 (comment) and John Newbery <[email protected]> bitcoin/bitcoin#15934 (comment) This commit does not change behavior.
1 parent 3f7dc9b commit 57e8b7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util/system.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ bool ArgsManager::ParseParameters(int argc, const char* const argv[], std::strin
344344
}
345345
}
346346

347-
// we do not allow -includeconf from command line, so we clear it here
347+
// we do not allow -includeconf from command line
348348
bool success = true;
349349
if (auto* includes = util::FindKey(m_settings.command_line_options, "includeconf")) {
350350
for (const auto& include : util::SettingsSpan(*includes)) {
@@ -780,7 +780,7 @@ bool ArgsManager::ReadConfigFiles(std::string& error, bool ignore_invalid_keys)
780780
return false;
781781
}
782782
// `-includeconf` cannot be included in the command line arguments except
783-
// as `-noincludeconf` (which indicates that no conf file should be used).
783+
// as `-noincludeconf` (which indicates that no included conf file should be used).
784784
bool use_conf_file{true};
785785
{
786786
LOCK(cs_args);

0 commit comments

Comments
 (0)