From 98a059286b86e0f2fa7e180aca324d420e621eb0 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sat, 2 Aug 2025 14:56:44 +1000 Subject: [PATCH 1/2] repo-add: add '--include-sigs' to the help message Signed-off-by: Allan McRae --- scripts/repo-add.sh.in | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index c1832fe3..a8087b24 100644 --- a/scripts/repo-add.sh.in +++ b/scripts/repo-add.sh.in @@ -68,6 +68,7 @@ Multiple packages to add can be specified on the command line.\n")" printf -- "$(gettext "Options:\n")" printf -- "$(gettext " -n, --new only add packages that are not already in the database\n")" printf -- "$(gettext " -p, --prevent-downgrade do not add package to database if a newer version is already present\n")" + printf -- "$(gettext " --include-sigs Include package PGP signatures in the repository database (if available)") elif [[ $cmd == "repo-remove" ]] ; then printf -- "$(gettext "Usage: repo-remove [options] ...\n")" printf -- "\n" From e7106eb011dc5adf0eacb64a67f17ee935c05633 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sat, 2 Aug 2025 14:58:12 +1000 Subject: [PATCH 2/2] doc/repo-add: metion '--prevent-downgrade' option Fixes #249. Signed-off-by: Allan McRae --- doc/repo-add.8.asciidoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/repo-add.8.asciidoc b/doc/repo-add.8.asciidoc index 352a4e5f..73ed1475 100644 --- a/doc/repo-add.8.asciidoc +++ b/doc/repo-add.8.asciidoc @@ -75,6 +75,9 @@ repo-add Options Only add packages that are not already in the database. Warnings will be printed upon detection of existing packages, but they will not be re-added. +*-p, \--prevent-downgrade*:: + Do not add package to database if a newer version is already present + *\--include-sigs*:: Include package PGP signatures in the repository database (if available)