From 1cb1b0a52c3c815f448af9ca80bd38f550f5b7ca Mon Sep 17 00:00:00 2001
From: Allan McRae <allan@archlinux.org>
Date: Sun, 24 Apr 2011 21:03:21 +1000
Subject: 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>
---
 doc/repo-add.8.txt | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'doc')

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
-- 
cgit v1.2.3-70-g09d2