libplugin.c: Handle command categories then set them in pay and autoclean

This commit is contained in:
darosior
2019-05-22 16:27:34 +02:00
committed by Rusty Russell
parent 5b0bf0ba1f
commit 9d34121ec5
4 changed files with 10 additions and 3 deletions

View File

@@ -71,6 +71,7 @@ static void init(struct plugin_conn *prpc)
static const struct plugin_command commands[] = { {
"autocleaninvoice",
"payment",
"Set up autoclean of expired invoices. ",
"Perform cleanup every {cycle_seconds} (default 3600), or disable autoclean if 0. "
"Clean up expired invoices that have expired for {expired_by} seconds (default 86400). ",