From f24a7b93567775b45bc73ed536f2d2e3e442c2bb Mon Sep 17 00:00:00 2001 From: Isidoro Ghezzi Date: Sat, 10 Mar 2018 19:54:19 +0100 Subject: [PATCH] help: listnodes and listchannels,have optional arg --- lightningd/gossip_control.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightningd/gossip_control.c b/lightningd/gossip_control.c index 12312c2ba..864dc7a8c 100644 --- a/lightningd/gossip_control.c +++ b/lightningd/gossip_control.c @@ -267,7 +267,7 @@ static void json_listnodes(struct command *cmd, const char *buffer, static const struct json_command listnodes_command = { "listnodes", json_listnodes, - "Show all nodes in our local network view" + "Show node {id} (or all, if no {id}), in our local network view" }; AUTODATA(json_command, &listnodes_command); @@ -475,6 +475,6 @@ static void json_listchannels(struct command *cmd, const char *buffer, static const struct json_command listchannels_command = { "listchannels", json_listchannels, - "Show all known channels" + "Show channel {short_channel_id} (or all known channels, if no {short_channel_id})" }; AUTODATA(json_command, &listchannels_command);