json_commit: document usage correctly.

It's pretty horrible to hand the entire tx, but at least document it.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2016-08-19 10:34:12 +09:30
parent 830a65de46
commit e40a070014

View file

@ -2679,7 +2679,7 @@ static void json_connect(struct command *cmd,
const struct json_command connect_command = {
"connect",
json_connect,
"Connect to a {host} at {port} offering anchor of {satoshis}",
"Connect to a {host} at {port} using hex-encoded {tx} to fund",
"Returns an empty result on success"
};