pacman-key: check only a single operation has been specified
commitfec10d4a65ebfdcac1f0e3dec9e24c1fe67bb52a
authorAllan McRae <allan@archlinux.org>
Sat, 9 Jul 2011 01:28:57 +0000 (9 11:28 +1000)
committerAllan McRae <allan@archlinux.org>
Tue, 19 Jul 2011 00:27:53 +0000 (19 10:27 +1000)
tree1e2258653d9680695c7a33a398821f68a51eb6c8
parent74f6d717a3e25957ca5f3cf80897b218b990eea8
pacman-key: check only a single operation has been specified

Follow the example of gpg and only allow a single operation to be
specified each time.  Prevents having to deal with conflicting
variable names and potential issues due to the order in which the
operations are run.

Signed-off-by: Allan McRae <allan@archlinux.org>
scripts/pacman-key.sh.in