[pacman-dev] [PATCH 5/6] repo-add: document -k option

Allan McRae allan at archlinux.org
Sun Apr 24 07:26:25 EDT 2011


Also unify the usage output with that given by repo-add itself.

Signed-off-by: Allan McRae <allan at archlinux.org>
---
 doc/repo-add.8.txt |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/doc/repo-add.8.txt b/doc/repo-add.8.txt
index 24e2fe6..b1c24f5 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' [option(s)] <path-to-db> <package|delta> [<package|delta> ...]
 
-'repo-remove' [-q] [-s] [-v] <path-to-db> <packagename|delta> [<packagename|delta> ...]
+'repo-remove' [option(s)] <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
-- 
1.7.4.4



More information about the pacman-dev mailing list