aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-02-11 22:26:11 +0000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-02-11 22:35:08 +0000
commit9e68a8208f75327a301b84da6bf86b84868104d3 (patch)
tree1614c23af928e8959fe187f72c101e3bd55e5b96 /src/qt
parent7143d4388407ab3d12005e55a02d5e8f334e4dc9 (diff)
parentede5014c445dcb40ddcfdede2c51236bbfe85f5e (diff)
downloadbitcoin-9e68a8208f75327a301b84da6bf86b84868104d3.tar.xz
Merge bitcoin-core/gui#752: Modify command line help to show support for BIP21 URIs
ede5014c445dcb40ddcfdede2c51236bbfe85f5e Modify command line help to show support for BIP21 URIs (Hernan Marino) Pull request description: While reviewing a different PR (see https://github.com/bitcoin-core/gui/pull/742 ) **hebasto** suggested that the help for bitcoin-qt should be updated to reflect the fact that bitcoin-qt supports an optional BIP21 URI parameter. Since this reflects actual behaviour of bitcoin-qt and is independent of whether or not the other PR gets merged, I created this simple PR to fix the help message. ACKs for top commit: kristapsk: utACK ede5014c445dcb40ddcfdede2c51236bbfe85f5e pablomartin4btc: lgtm, re ACK ede5014c445dcb40ddcfdede2c51236bbfe85f5e hebasto: ACK ede5014c445dcb40ddcfdede2c51236bbfe85f5e. Tree-SHA512: c456297c486bc5cc65e0e092e7ba9d51b0bd7a584d4fabca7f7ca1f8e58cbcc66e96226539c689ed0f5e7f40da220bbc4ea30b90e31e1aeeb8867a385a90209c
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/utilitydialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/utilitydialog.cpp b/src/qt/utilitydialog.cpp
index f43b993628..22fe219def 100644
--- a/src/qt/utilitydialog.cpp
+++ b/src/qt/utilitydialog.cpp
@@ -58,7 +58,8 @@ HelpMessageDialog::HelpMessageDialog(QWidget *parent, bool about) :
ui->helpMessage->setVisible(false);
} else {
setWindowTitle(tr("Command-line options"));
- QString header = "Usage: bitcoin-qt [command-line options] \n";
+ QString header = "Usage: bitcoin-qt [command-line options] [URI]\n\n"
+ "Optional URI is a Bitcoin address in BIP21 URI format.\n";
QTextCursor cursor(ui->helpMessage->document());
cursor.insertText(version);
cursor.insertBlock();