From: Michael Tremer Date: Thu, 1 Dec 2022 12:18:08 +0000 (+0000) Subject: pakfire-builder: shell: Allow passing --install multiple times X-Git-Tag: 0.9.28~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=acc3cb237cccf00c2bec21581be298ad7ce1da50;p=pakfire.git pakfire-builder: shell: Allow passing --install multiple times Signed-off-by: Michael Tremer --- 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)