]> git.bitcoin.ninja Git - ldk-sample/commitdiff
Merge pull request #67 from catenocrypt/main
authorMatt Corallo <649246+TheBlueMatt@users.noreply.github.com>
Sat, 20 Aug 2022 21:55:08 +0000 (21:55 +0000)
committerGitHub <noreply@github.com>
Sat, 20 Aug 2022 21:55:08 +0000 (21:55 +0000)
Add --public option to openchannel command help

src/cli.rs

index 6c0b756d771d965f0769f72f595b096dede8b2c9..013209f9d070ab8a1a33d78331afd0546880e165 100644 (file)
@@ -423,7 +423,7 @@ pub(crate) async fn poll_for_user_input<E: EventHandler>(
 }
 
 fn help() {
-       println!("openchannel pubkey@host:port <amt_satoshis>");
+       println!("openchannel pubkey@host:port <amt_satoshis> [--public]");
        println!("sendpayment <invoice>");
        println!("keysend <dest_pubkey> <amt_msats>");
        println!("getinvoice <amt_msats> <expiry_secs>");