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.
tingping/wmclass
Matthias Clasen 2017-04-09 22:18:13 -04:00 committed by Alexander Larsson
parent d249698f0f
commit 81f688fc66
1 changed files with 1 additions and 1 deletions

View File

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