mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
jsonrpc: Add a category field to commands.
A new string field is added to the command structure and is specified at the creation of each native command, and in the JSON created by 'json_add_help_command()'.
This commit is contained in:
@@ -175,6 +175,7 @@ static struct command_result *json_connect(struct command *cmd,
|
||||
|
||||
static const struct json_command connect_command = {
|
||||
"connect",
|
||||
"network",
|
||||
json_connect,
|
||||
"Connect to {id} at {host} (which can end in ':port' if not default). "
|
||||
"{id} can also be of the form id@host"
|
||||
|
||||
Reference in New Issue
Block a user