mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-17 13:06:36 +02:00
help: listnodes and listchannels,have optional arg
This commit is contained in:
parent
249464ccd2
commit
f24a7b9356
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue