From acc3cb237cccf00c2bec21581be298ad7ce1da50 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 1 Dec 2022 12:18:08 +0000 Subject: [PATCH] pakfire-builder: shell: Allow passing --install multiple times Signed-off-by: Michael Tremer --- src/scripts/pakfire-builder.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/pakfire-builder.in b/src/scripts/pakfire-builder.in index 34f62eb47..88113db38 100644 --- a/src/scripts/pakfire-builder.in +++ b/src/scripts/pakfire-builder.in @@ -142,7 +142,7 @@ class Cli(object): shell = subparsers.add_parser("shell", help=_("Go into a build shell")) shell.add_argument("--disable-snapshot", action="store_true", help=_("Disable using snapshots")) - shell.add_argument("--install", nargs="*", + shell.add_argument("--install", action="append", default=[], help=_("Install additional packages"), ) shell.set_defaults(func=self._shell) -- 2.39.5