mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
Document the 'dev' command
This commit is contained in:
parent
ed63496152
commit
5fbb15bd59
1 changed files with 7 additions and 1 deletions
|
@ -296,7 +296,13 @@ static const struct json_command dev_command = {
|
||||||
"dev",
|
"dev",
|
||||||
"developer",
|
"developer",
|
||||||
json_dev,
|
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);
|
AUTODATA(json_command, &dev_command);
|
||||||
#endif /* DEVELOPER */
|
#endif /* DEVELOPER */
|
||||||
|
|
Loading…
Add table
Reference in a new issue