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.
This commit is contained in:
Richard Hughes 2020-09-14 15:27:43 +01:00 committed by Mario Limonciello
parent 5c82b94322
commit a1ebcbf743

View File

@ -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 },