From 84eacaee26a62a5f0e503ccea90364e204d39e7d Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Mon, 10 Sep 2018 13:59:12 +0200 Subject: [PATCH] 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. --- lightningd/ping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/ping.c b/lightningd/ping.c index 3b7168a9b..c533e96b0 100644 --- a/lightningd/ping.c +++ b/lightningd/ping.c @@ -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);