install: Actually handle more than two REFs

tingping/wmclass
Alexander Larsson 2016-10-17 17:28:28 +02:00
parent d248f0887b
commit b2cc643f2c
1 changed files with 0 additions and 3 deletions

View File

@ -313,9 +313,6 @@ flatpak_builtin_install (int argc, char **argv, GCancellable *cancellable, GErro
if (argc < 3)
return usage_error (context, _("REPOSITORY and REF must be specified"), error);
if (argc > 4)
return usage_error (context, _("Too many arguments"), error);
repository = argv[1];
prefs = &argv[2];
n_prefs = argc - 2;