From: Michael Tremer Date: Thu, 27 Oct 2022 15:38:27 +0000 (+0000) Subject: pakfire-builder: Make --disable-snapshot a switch for build X-Git-Tag: 0.9.28~191 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e323ba9467ebe2ff1d4d653c72217754b4660107;p=pakfire.git pakfire-builder: Make --disable-snapshot a switch for build There is no point in having this as a global configuration option. Signed-off-by: Michael Tremer --- diff --git a/src/scripts/pakfire-builder.in b/src/scripts/pakfire-builder.in index 5e293cfc5..08a5d9806 100644 --- a/src/scripts/pakfire-builder.in +++ b/src/scripts/pakfire-builder.in @@ -45,8 +45,6 @@ class Cli(object): help=_("Enable debug mode")) parser.add_argument("--distro", nargs="?", default="ipfire3", # XXX for now help=_("Choose the distribution configuration to use for build")) - parser.add_argument("--disable-snapshot", action="store_true", - help=_("Disable using snapshots")) # build build = subparsers.add_parser("build", help=_("Build one or more packages")) @@ -61,6 +59,8 @@ class Cli(object): help=_("Run a shell after a successful build")) build.add_argument("--skip-install-test", action="store_true", help=_("Do not perform the install test")) + build.add_argument("--disable-snapshot", action="store_true", + help=_("Disable using snapshots")) # clean clean = subparsers.add_parser("clean", help=_("Cleanup all temporary files"))