]> git.ipfire.org Git - pakfire.git/commitdiff
cli: pakfire-builder: Add forgotten repo options
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 15 Oct 2023 13:17:35 +0000 (13:17 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 15 Oct 2023 13:17:35 +0000 (13:17 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/cli/pakfire-builder.c

index 7e1a4e25367e017240dcd0c88a1a55a011d94dbc..70a92cedd9e90333ac98e54c22429dabc22d8a1a 100644 (file)
@@ -57,9 +57,11 @@ enum {
 };
 
 static struct argp_option options[] = {
-       { "arch",   OPT_ARCH,     "ARCH", 0, "Choose an architecture",      0 },
-       { "debug",  OPT_DEBUG,      NULL, 0, "Run in debug mode",           0 },
-       { "distro", OPT_DISTRO, "DISTRO", 0, "Build for this distribution", 0 },
+       { "arch",         OPT_ARCH,          "ARCH", 0, "Choose an architecture",      0 },
+       { "debug",        OPT_DEBUG,           NULL, 0, "Run in debug mode",           0 },
+       { "distro",       OPT_DISTRO,      "DISTRO", 0, "Build for this distribution", 0 },
+       { "enable-repo",  OPT_ENABLE_REPO,   "REPO", 0, "Enable a repository",         0 },
+       { "disable-repo", OPT_DISABLE_REPO,  "REPO", 0, "Disable a repository",        0 },
        { NULL },
 };