diff options
author | Danny George <dangets@gmail.com> | 2012-12-13 15:53:37 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-01-03 03:03:10 +0100 |
commit | 965e1de2174148a7a6c0860a7514d9bb1969bf03 (patch) | |
tree | 27d85b0ea3a38f37ddc09c91114b525875e8680f /doc/repo-add.8.txt | |
parent | fe0586e2400aa078f0b974ef8acc541ad9e95140 (diff) | |
download | pacman-965e1de2174148a7a6c0860a7514d9bb1969bf03.tar.gz pacman-965e1de2174148a7a6c0860a7514d9bb1969bf03.tar.xz |
Add a -n option to repo-add to only add new packages
Packages are already in the pkg db were given a warning, and then
readded anyway. With -n specified, the warning is printed, but skips
readding it.
Signed-off-by: Danny George <dangets@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc/repo-add.8.txt')
-rw-r--r-- | doc/repo-add.8.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/repo-add.8.txt b/doc/repo-add.8.txt index 79b5a7ef..91f3ac6d 100644 --- a/doc/repo-add.8.txt +++ b/doc/repo-add.8.txt @@ -68,6 +68,10 @@ repo-add Options specified packages. This is useful for creating databases listing all files in a given sync repository for tools that may use this information. +*-n, \--new*:: + 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. + See Also -------- linkman:makepkg[8], linkman:pacman[8], linkman:pkgdelta[8] |