From 8402ceac7683fbe01477434b9caee91dea07e3a8 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Thu, 7 Feb 2019 20:25:31 -0600 Subject: [PATCH] trivial: fu-tool: correct argument type for `--prepare` and `--cleanup` --- src/fu-tool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fu-tool.c b/src/fu-tool.c index fb0073cf2..1ecf8ddd5 100644 --- a/src/fu-tool.c +++ b/src/fu-tool.c @@ -1250,10 +1250,10 @@ main (int argc, char *argv[]) { "plugin-whitelist", '\0', 0, G_OPTION_ARG_STRING_ARRAY, &plugin_glob, /* TRANSLATORS: command line option */ _("Manually whitelist specific plugins"), NULL }, - { "prepare", '\0', 0, G_OPTION_ARG_STRING_ARRAY, &priv->prepare_blob, + { "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 }, - { "cleanup", '\0', 0, G_OPTION_ARG_STRING_ARRAY, &priv->cleanup_blob, + { "cleanup", '\0', 0, G_OPTION_ARG_NONE, &priv->cleanup_blob, /* TRANSLATORS: command line option */ _("Run the plugin composite cleanup routine when using install-blob"), NULL },