From 5fbb15bd59a65fa1fb71ccb60e6a6a213d279d9b Mon Sep 17 00:00:00 2001 From: darosior Date: Mon, 5 Aug 2019 13:04:13 +0200 Subject: [PATCH] Document the 'dev' command --- lightningd/jsonrpc.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lightningd/jsonrpc.c b/lightningd/jsonrpc.c index dd8a960ec..8b372816b 100644 --- a/lightningd/jsonrpc.c +++ b/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 */