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'.
This commit is contained in:
Matthias Clasen committed 2015-01-23 06:19:20 -05:00
1 parent d22f1d01e3
commit 8328d851ad
1 file changed
+2 -1
+2 -1
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 }
};