plugins/sql: make testing-only sqlfilename option dev-sqlfilename.

dev options don't need to be documented, and this is only for debugging
the plugin itself.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2023-08-18 16:19:17 +09:30
parent d5e86bf330
commit b5d1708900
2 changed files with 3 additions and 3 deletions

View File

@@ -1614,7 +1614,7 @@ int main(int argc, char *argv[])
}
plugin_main(argv, init, PLUGIN_RESTARTABLE, true, NULL, commands, ARRAY_SIZE(commands),
NULL, 0, NULL, 0, NULL, 0,
plugin_option("sqlfilename",
plugin_option("dev-sqlfilename",
"string",
"Use on-disk sqlite3 file instead of in memory (e.g. debugging)",
charp_option, &dbfilename),