summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDanny George <dangets@gmail.com>2012-12-13 15:53:37 +0100
committerAllan McRae <allan@archlinux.org>2013-01-03 03:03:10 +0100
commit965e1de2174148a7a6c0860a7514d9bb1969bf03 (patch)
tree27d85b0ea3a38f37ddc09c91114b525875e8680f /doc
parentfe0586e2400aa078f0b974ef8acc541ad9e95140 (diff)
downloadpacman-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')
-rw-r--r--doc/repo-add.8.txt4
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]