Browse Source

Document the 'dev' command

pull/2938/head
darosior 5 years ago
committed by Rusty Russell
parent
commit
5fbb15bd59
  1. 8
      lightningd/jsonrpc.c

8
lightningd/jsonrpc.c

@ -296,7 +296,13 @@ static const struct json_command dev_command = {
"dev",
"developer",
json_dev,
"Developer command test multiplexer"
"Developer command test multiplexer",
.verbose = "dev rhash {secret}\n"
" Show SHA256 of {secret}\n"
"dev crash\n"
" Crash lightningd by calling fatal()\n"
"dev slowcmd {msec}\n"
" Torture test for slow commands, optional {msec}\n"
};
AUTODATA(json_command, &dev_command);
#endif /* DEVELOPER */

Loading…
Cancel
Save