Add a help message for the `keysend` command
authormeryacine <omar.groza@gmail.com>
Sun, 17 Apr 2022 10:30:03 +0000 (12:30 +0200)
committermeryacine <omar.groza@gmail.com>
Sun, 17 Apr 2022 10:31:03 +0000 (12:31 +0200)
src/cli.rs

index 681714f17936093dc218c4411df1bce0b27b5b97..6904180ddcc3d0e48f48787b00184aaaaec40f45 100644 (file)
@@ -369,6 +369,7 @@ pub(crate) async fn poll_for_user_input<E: EventHandler>(
 fn help() {
        println!("openchannel pubkey@host:port <amt_satoshis>");
        println!("sendpayment <invoice>");
+       println!("keysend <dest_pubkey> <amt_msat>");
        println!("getinvoice <amt_millisatoshis>");
        println!("connectpeer pubkey@host:port");
        println!("listchannels");