From: Valentine Wallace Date: Wed, 12 May 2021 17:22:52 +0000 (-0400) Subject: Update `help` to include new commands and clean up parameters X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-sample;a=commitdiff_plain;h=0878cb69e0e575c0e834c59e170a3ee2823325e9 Update `help` to include new commands and clean up parameters --- diff --git a/src/cli.rs b/src/cli.rs index 9a0227c..c8c14f2 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -391,14 +391,16 @@ pub(crate) async fn poll_for_user_input( } fn help() { - println!("openchannel pubkey@host:port "); + println!("openchannel pubkey@host:port "); println!("sendpayment "); - println!("getinvoice "); + println!("getinvoice "); println!("connectpeer pubkey@host:port"); println!("listchannels"); println!("listpayments"); println!("closechannel "); println!("forceclosechannel "); + println!("nodeinfo"); + println!("listpeers"); } fn node_info(channel_manager: Arc, peer_manager: Arc) {