From a1ebcbf7439ff117fca50ef94bd3cdfb3ef80ba7 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 14 Sep 2020 15:27:43 +0100 Subject: [PATCH] trivial: Add back the hidden --plugin-whitelist option It is essentially part of our 'CLI API' and we have to support people using the old name. --- src/fu-tool.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fu-tool.c b/src/fu-tool.c index 29e72d752..fb7de426c 100644 --- a/src/fu-tool.c +++ b/src/fu-tool.c @@ -2160,6 +2160,9 @@ main (int argc, char *argv[]) { "plugins", '\0', 0, G_OPTION_ARG_STRING_ARRAY, &plugin_glob, /* TRANSLATORS: command line option */ _("Manually enable specific plugins"), NULL }, + { "plugin-whitelist", '\0', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING_ARRAY, &plugin_glob, + /* TRANSLATORS: command line option */ + _("Manually enable specific plugins"), NULL }, { "prepare", '\0', 0, G_OPTION_ARG_NONE, &priv->prepare_blob, /* TRANSLATORS: command line option */ _("Run the plugin composite prepare routine when using install-blob"), NULL },