mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
ping: First parameter is called 'id' not 'peerid', fix help
The first argument of 'ping' was documented as 'peerid', however internally it is expected to be just 'id'. To avoid breaking the API, opt to fix the documentation.
This commit is contained in:
committed by
neil saitug
parent
634f19a7b2
commit
84eacaee26
@@ -86,6 +86,6 @@ static void json_ping(struct command *cmd,
|
||||
static const struct json_command ping_command = {
|
||||
"ping",
|
||||
json_ping,
|
||||
"Send {peerid} a ping of length {len} (default 128) asking for {pongbytes} (default 128)"
|
||||
"Send peer {id} a ping of length {len} (default 128) asking for {pongbytes} (default 128)"
|
||||
};
|
||||
AUTODATA(json_command, &ping_command);
|
||||
|
||||
Reference in New Issue
Block a user