mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-22 07:35:25 -04:00
install: Actually handle more than two REFs
This commit is contained in:
1 parent
d248f0887b
commit
b2cc643f2c
1 file changed
-3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user