pacman-key: move --edit-key and --receive processing to functions
commit74e5a494b0cfea7a987fd2b253b765ca4362b456
authorAllan McRae <allan@archlinux.org>
Sat, 9 Jul 2011 01:07:29 +0000 (9 11:07 +1000)
committerAllan McRae <allan@archlinux.org>
Tue, 19 Jul 2011 00:27:53 +0000 (19 10:27 +1000)
tree5dca422493bf8e2f02c8cac8431218cf32c5140e
parent7963c5d0000a9dc6fe895e0b321cd6f978168c34
pacman-key: move --edit-key and --receive processing to functions

This moves the processing of the --edit-key and --receive options
to functions, keeping the final option processing to be all single
line statements.

Also rework the --edit-key option to validate all input before
processing.

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