repo-add.8: Provide example usage

Detail the current standard of generating two databases - with and
without the file list.

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Allan McRae 2013-10-15 22:20:43 +10:00
parent d63313efe1
commit d4ba5bdda6

View file

@ -82,6 +82,19 @@ repo-add Options
Remove old package files from the disk when updating their entry in the Remove old package files from the disk when updating their entry in the
database. database.
Example
-------
'repo-add' is often invoked twice to create two separate databases; a smaller
database used by pacman and a large database containing package file lists for
use by other utilities.
'repo-add' foo.db.tar.xz <pkg1> [<pkg2> ...]
'repo-add' -f foo.files.tar.xz <pkg1> [<pkg2> ...]
While pacman can use the large database (if given a db.tar* extension), there
is currently no additional benefit for the larger download.
See Also See Also
-------- --------
linkman:makepkg[8], linkman:pacman[8], linkman:pkgdelta[8] linkman:makepkg[8], linkman:pacman[8], linkman:pkgdelta[8]