]> git.bitcoin.ninja Git - ldk-sample/commitdiff
Update `help` to include new commands and clean up parameters
authorValentine Wallace <vwallace@protonmail.com>
Wed, 12 May 2021 17:22:52 +0000 (13:22 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Wed, 12 May 2021 17:22:52 +0000 (13:22 -0400)
src/cli.rs

index 9a0227ca8038319ed699726b004d06c70c906345..c8c14f2f6c007016bca07f63aaf77eeb0cec1ab1 100644 (file)
@@ -391,14 +391,16 @@ pub(crate) async fn poll_for_user_input(
 }
 
 fn help() {
-       println!("openchannel pubkey@host:port <channel_amt_satoshis>");
+       println!("openchannel pubkey@host:port <amt_satoshis>");
        println!("sendpayment <invoice>");
-       println!("getinvoice <amt_in_millisatoshis>");
+       println!("getinvoice <amt_millisatoshis>");
        println!("connectpeer pubkey@host:port");
        println!("listchannels");
        println!("listpayments");
        println!("closechannel <channel_id>");
        println!("forceclosechannel <channel_id>");
+       println!("nodeinfo");
+       println!("listpeers");
 }
 
 fn node_info(channel_manager: Arc<ChannelManager>, peer_manager: Arc<PeerManager>) {