plugins: two minor things I noticed.
1. sql's dev-sqlfilename should be registered as a dev option. 2. bcli's timeout is an integer, not a string. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Alex Myers
parent
c1c67635fc
commit
f7afe1a35f
@@ -1644,9 +1644,9 @@ 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("dev-sqlfilename",
|
||||
"string",
|
||||
"Use on-disk sqlite3 file instead of in memory (e.g. debugging)",
|
||||
charp_option, &dbfilename),
|
||||
plugin_option_dev("dev-sqlfilename",
|
||||
"string",
|
||||
"Use on-disk sqlite3 file instead of in memory (e.g. debugging)",
|
||||
charp_option, NULL, &dbfilename),
|
||||
NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user