Skip to content

Commit ee94913

Browse files
committed
Merge bitcoin/bitcoin#29658: Bugfix: GUI: Help messages already have a trailing newline, so don't add an extra one
d1ed09a Bugfix: GUI: Help messages already have a trailing newline, so don't add an extra one (Luke Dashjr) Pull request description: Reviewing #29585, I noticed that `bitcoin-qt` adds an extra newline for `-help` and `-version` beyond the other binaries'. ACKs for top commit: hebasto: ACK d1ed09a, tested on Ubuntu 24.04. Tree-SHA512: 15ee9d1060c2492bb3b04a0ac4cb53f7b959bbe32bce415793da0c221f1c963c8f2bb3996ea07d1a7c192bfc2e23be2cd7d4e5649c592eb3fc03906c2763f1aa
2 parents 3207286 + d1ed09a commit ee94913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/utilitydialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ HelpMessageDialog::~HelpMessageDialog()
115115
void HelpMessageDialog::printToConsole()
116116
{
117117
// On other operating systems, the expected action is to print the message to the console.
118-
tfm::format(std::cout, "%s\n", qPrintable(text));
118+
tfm::format(std::cout, "%s", qPrintable(text));
119119
}
120120

121121
void HelpMessageDialog::showOrPrint()

0 commit comments

Comments
 (0)