Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-07-06 03:05:08 +1000
committerAllan McRae <allan@archlinux.org>2011-07-19 10:27:53 +1000
commit7d205a70a26f1c3d283e995ec590b6838eb8283d (patch)
tree5ba324e4172e7cca84726121b42cd5c743188279 /test
parentdad96ccce2eea8b171cd2d14ec20b8185f0009a8 (diff)
pacman-key: use our option parser
The pacman-key script is complicated enough to warrent usage of the parse_options script. This is especially helpful in dealing with all the configuration file override flags as the no longer need to be specified first. It also allows us to do the right thing early with --help/--version and no option cases cleanly. This change also makde the check for root privileges only occur on operations where they are needed. This patch is inspired by and supercedes some patches submitted by Denis A. AltoƩ Falqueto and Ivan Kanakarakis who were altering the previous option handling in an attempt to deal with the above issues. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions