Add a --system option

This is a natural counterpart to --user with the opposite
meaning. In the future, we may start interpreting the absence
of either as 'operate on both'.
tingping/wmclass
Matthias Clasen 2015-01-23 06:19:20 -05:00
parent d22f1d01e3
commit 8328d851ad
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@ static GOptionEntry global_entries[] = {
};
static GOptionEntry user_entries[] = {
{ "user", 0, 0, G_OPTION_ARG_NONE, &opt_user, "Work on user installed apps", NULL },
{ "user", 0, 0, G_OPTION_ARG_NONE, &opt_user, "Work on user installations", NULL },
{ "system", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &opt_user, "Work on system-wide installations", NULL },
{ NULL }
};