Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Allan McRae
e7106eb011 doc/repo-add: metion '--prevent-downgrade' option
Fixes #249.

Signed-off-by: Allan McRae <allan@archlinux.org>
2025-08-02 14:58:12 +10:00
Allan McRae
98a059286b repo-add: add '--include-sigs' to the help message
Signed-off-by: Allan McRae <allan@archlinux.org>
2025-08-02 14:56:44 +10:00
2 changed files with 4 additions and 0 deletions

View file

@ -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)

View file

@ -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] <path-to-db> <packagename> ...\n")"
printf -- "\n"