mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
lightningd: allow plugin commands and options to mark themselves deprecated.
This lets us handle it the same way we handle builtin commands, and also lets us warn if they use deprecated apis and allow-deprecated-apis=false. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: Plugins: can now mark their options and commands deprecated.
This commit is contained in:
@@ -137,6 +137,7 @@ struct plugin_opt {
|
||||
const char *type;
|
||||
const char *description;
|
||||
struct plugin_opt_value *value;
|
||||
bool deprecated;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user