From 81f688fc66c4b1dbd308eefe5e6d52cc5be3a26c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 9 Apr 2017 22:18:13 -0400 Subject: [PATCH] Fix --help output for --installation This option takes an argument, so specify an argument name in the GOptionEntry to make the --help output come out right. --- app/flatpak-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/flatpak-main.c b/app/flatpak-main.c index a4e9cec4..d7cd61a5 100644 --- a/app/flatpak-main.c +++ b/app/flatpak-main.c @@ -119,7 +119,7 @@ static GOptionEntry empty_entries[] = { GOptionEntry user_entries[] = { { "user", 0, 0, G_OPTION_ARG_NONE, &opt_user, N_("Work on user installations"), NULL }, { "system", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &opt_user, N_("Work on system-wide installations (default)"), NULL }, - { "installation", 0, 0, G_OPTION_ARG_STRING, &opt_installation, N_("Work on a specific system-wide installation"), NULL }, + { "installation", 0, 0, G_OPTION_ARG_STRING, &opt_installation, N_("Work on a specific system-wide installation"), N_("NAME") }, { NULL } };