Skip to content

Commit 864f1cc

Browse files
committed
Merge #253: Add additional slash to show ReceivePayjoin cli docs
a6d22b9 doc(payjoin): add additional slash to show ReceivePayjoin cli docs (nymius) Pull request description: ### Description A missing slash was preventing the `receive_payjoin` command from displaying its documentation string: ```bash Wallet operations. ... sync Syncs with the chosen blockchain server broadcast Broadcasts a transaction to the network. Takes either a raw transaction or a PSBT to extract receive_payjoin send_payjoin Sends an original PSBT to a BIP 21 URI and broadcasts the returned Payjoin PSBT new_address Get a new external address ... ``` This change adds the additional slash to make a proper doc string, so clap displays it. ACKs for top commit: tvpeter: ACK a6d22b9 Tree-SHA512: 90383ef85fbd0ccbf42b06a5f38a02ec3ed94e817d7cdc1197bc0fe03f2ba3ce77357f65a6fd0b7a787e361db4bc7e38fcb408cafa61e237e098f7fb943afe7b
2 parents 15b6f5b + a6d22b9 commit 864f1cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ pub enum OnlineWalletSubCommand {
444444
)]
445445
tx: Option<String>,
446446
},
447-
// Generates a Payjoin receive URI and processes the sender's Payjoin proposal.
447+
/// Generates a Payjoin receive URI and processes the sender's Payjoin proposal.
448448
ReceivePayjoin {
449449
/// Amount to be received in sats.
450450
#[arg(env = "PAYJOIN_AMOUNT", long = "amount", required = true)]

0 commit comments

Comments
 (0)