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:
Wladimir J. van der Laan
2018-09-10 13:59:12 +02:00
committed by neil saitug
parent 634f19a7b2
commit 84eacaee26

View File

@@ -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);