Merge pull request #57 from meryacine/main
authorMatt Corallo <649246+TheBlueMatt@users.noreply.github.com>
Sun, 17 Apr 2022 18:27:44 +0000 (18:27 +0000)
committerGitHub <noreply@github.com>
Sun, 17 Apr 2022 18:27:44 +0000 (18:27 +0000)
Add a help message for the `keysend` command

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");