Add --public option to openchannel command help
authorcatenocrypt <13562139+catenocrypt@users.noreply.github.com>
Sat, 20 Aug 2022 20:08:37 +0000 (22:08 +0200)
committercatenocrypt <13562139+catenocrypt@users.noreply.github.com>
Sat, 20 Aug 2022 20:08:37 +0000 (22:08 +0200)
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>");