From dcfef2d29da7c0ecb0fad00f6f7f5047c42dc18a Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 15 Sep 2016 11:44:11 +0200 Subject: [PATCH] install: Fix option args for --from This doesn't have any args, since its type ARG_NONE. This was causing commandline completion to add an "=" after --from which isn't right. --- app/flatpak-builtins-install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/flatpak-builtins-install.c b/app/flatpak-builtins-install.c index a8948224..07207abd 100644 --- a/app/flatpak-builtins-install.c +++ b/app/flatpak-builtins-install.c @@ -55,7 +55,7 @@ static GOptionEntry options[] = { { "runtime", 0, 0, G_OPTION_ARG_NONE, &opt_runtime, N_("Look for runtime with the specified name"), NULL }, { "app", 0, 0, G_OPTION_ARG_NONE, &opt_app, N_("Look for app with the specified name"), NULL }, { "bundle", 0, 0, G_OPTION_ARG_NONE, &opt_bundle, N_("Install from local bundle file"), NULL }, - { "from", 0, 0, G_OPTION_ARG_NONE, &opt_from, N_("Load options from file"), N_("FILE") }, + { "from", 0, 0, G_OPTION_ARG_NONE, &opt_from, N_("Load options from file"), NULL }, { "gpg-file", 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &opt_gpg_file, N_("Check bundle signatures with GPG key from FILE (- for stdin)"), N_("FILE") }, { "subpath", 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &opt_subpaths, N_("Only install this subpath"), N_("PATH") }, { NULL }