mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
plugins: add 'flag' type for plugin options
Updates the plugin docs to include more detailed info about how options work. Changelog-Added: Plugins: 'flag'-type option now available.
This commit is contained in:
committed by
Rusty Russell
parent
a08905c344
commit
42cce55b45
@@ -1272,7 +1272,8 @@ static void add_config(struct lightningd *ld,
|
||||
json_add_opt_log_levels(response, ld->log);
|
||||
} else if (opt->cb_arg == (void *)opt_add_plugin_dir
|
||||
|| opt->cb_arg == (void *)opt_disable_plugin
|
||||
|| opt->cb_arg == (void *)plugin_opt_set) {
|
||||
|| opt->cb_arg == (void *)plugin_opt_set
|
||||
|| opt->cb_arg == (void *)plugin_opt_flag_set) {
|
||||
/* FIXME: We actually treat it as if they specified
|
||||
* --plugin for each one, so ignore these */
|
||||
#if DEVELOPER
|
||||
|
||||
Reference in New Issue
Block a user