mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
Document the 'dev' command
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user