From: Michael Tremer Date: Thu, 14 Sep 2023 10:34:45 +0000 (+0000) Subject: Pass Pakfire configuration file as file handle X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=75c92789477fe6b80d6f4f4b7f42a7fb4de06cc8;p=people%2Fms%2Fbricklayer.git Pass Pakfire configuration file as file handle Signed-off-by: Michael Tremer --- diff --git a/src/bricklayer b/src/bricklayer index c3727df..2b5beb5 100644 --- a/src/bricklayer +++ b/src/bricklayer @@ -40,7 +40,7 @@ class Cli(object): parser = argparse.ArgumentParser( description=_("IPFire Installation Tool CLI"), ) - parser.add_argument("--pakfire-conf", metavar=_("FILE"), + parser.add_argument("--pakfire-conf", metavar=_("FILE"), type=argparse.FileType("r"), help=_("Pakfire Configuration file used for the installation process")) parser.add_argument("--first-install", action="store_true", help=_("Runs the \"first install\" setup process"))