mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
add a note to "unknown parameter" error about -k autodetect failure.
This commit is contained in:
parent
77478408f9
commit
0fb4c1112d
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ static struct command_result *parse_by_name(struct command *cmd,
|
|||
if (!p) {
|
||||
if (!allow_extra) {
|
||||
return command_fail(cmd, JSONRPC2_INVALID_PARAMS,
|
||||
"unknown parameter: %.*s",
|
||||
"unknown parameter: %.*s, this may be caused by a failure to autodetect key=value-style parameters. Please try using the -k flag and explicit key=value pairs of parameters.",
|
||||
t->end - t->start,
|
||||
buffer + t->start);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue