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>
This commit is contained in:
Allan McRae 2011-04-24 21:03:21 +10:00 committed by Dan McGee
parent 036f98575c
commit 1cb1b0a52c

View file

@ -10,9 +10,9 @@ repo-add - package database maintenance utility
Synopsis 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 Description
@ -42,6 +42,11 @@ Common Options
signature file, using the GPG agent if it is available. The signature file 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. 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*:: *-v, \--verify*::
Verify the PGP signature of the database before updating the database. 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 If the signature is invalid, an error is produced and the update does not