summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-04-24 13:03:21 +0200
committerDan McGee <dan@archlinux.org>2011-04-24 17:44:22 +0200
commit1cb1b0a52c3c815f448af9ca80bd38f550f5b7ca (patch)
tree3a2deeb85d4656024149023d1425336306c30afd /doc
parent036f98575c1b57782db51c82b521d53ba1da99a1 (diff)
downloadpacman-1cb1b0a52c3c815f448af9ca80bd38f550f5b7ca.tar.gz
pacman-1cb1b0a52c3c815f448af9ca80bd38f550f5b7ca.tar.xz
repo-add: document -k option
Also unify the usage output with that given by repo-add itself. Dan: use 'options', not 'option(s)'. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/repo-add.8.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/repo-add.8.txt b/doc/repo-add.8.txt
index 24e2fe6c..01968827 100644
--- a/doc/repo-add.8.txt
+++ b/doc/repo-add.8.txt
@@ -10,9 +10,9 @@ repo-add - package database maintenance utility
Synopsis
--------
-'repo-add' [-d] [-f] [-q] [-s] [-v] <path-to-db> <package|delta> [<package|delta> ...]
+'repo-add' [options] <path-to-db> <package|delta> [<package|delta> ...]
-'repo-remove' [-q] [-s] [-v] <path-to-db> <packagename|delta> [<packagename|delta> ...]
+'repo-remove' [options] <path-to-db> <packagename|delta> [<packagename|delta> ...]
Description
@@ -42,6 +42,11 @@ Common Options
signature file, using the GPG agent if it is available. The signature file
will be the entire filename of the database with a ``.sig'' extension.
+*-k, \--key* <key>::
+ Specify a key to use when signing packages. Can also be specified using
+ the GPGKEY environmental variable. If not specified in either location, the
+ default key from the keyring will be used.
+
*-v, \--verify*::
Verify the PGP signature of the database before updating the database.
If the signature is invalid, an error is produced and the update does not