| 691 | } |
| 692 | |
| 693 | struct command_result *command_check_done(struct command *cmd) |
| 694 | { |
| 695 | struct json_stream *js = jsonrpc_stream_start(cmd); |
| 696 | assert(command_check_only(cmd)); |
| 697 | |
| 698 | json_out_add_splice(js->jout, "result", |
| 699 | json_out_obj(cmd, "command_to_check", |
| 700 | cmd->methodname)); |
| 701 | return command_complete(cmd, js); |
| 702 | } |
| 703 | |
| 704 | void command_set_usage(struct command *cmd, const char *usage TAKES) |
| 705 | { |