doc: separate 'repo' and 'repos' for alpm source

This commit is contained in:
Moody Liu 2022-08-21 15:29:07 +01:00 committed by GitHub
parent 706952609e
commit dada15505c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -859,9 +859,11 @@ Check package updates in a local ALPM database.
alpm
Name of the package.
repo / repos
Name of the package repository in which the package resides. If not provided, nvchecker will search ``repos``, if ``repos`` is not provided either, ``core``, ``extra``, ``community`` and ``multilib`` will be used, in that order.
repo
Name of the package repository in which the package resides. If not provided, nvchecker will use ``repos`` value, see below.
repos
An array of possible repositories in which the package may reside in, nvchecker will use the first repository which contains the package. If not provided, ``core``, ``extra``, ``community`` and ``multilib`` will be used, in that order.
dbpath
Path to the ALPM database directory. Default: ``/var/lib/pacman``. You need to update the database yourself.