summaryrefslogtreecommitdiffstats
path: root/m4/ltsugar.m4
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-07-05 19:05:08 +0200
committerAllan McRae <allan@archlinux.org>2011-07-19 02:27:53 +0200
commit7d205a70a26f1c3d283e995ec590b6838eb8283d (patch)
tree5ba324e4172e7cca84726121b42cd5c743188279 /m4/ltsugar.m4
parentdad96ccce2eea8b171cd2d14ec20b8185f0009a8 (diff)
downloadpacman-7d205a70a26f1c3d283e995ec590b6838eb8283d.tar.gz
pacman-7d205a70a26f1c3d283e995ec590b6838eb8283d.tar.xz
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 'm4/ltsugar.m4')
0 files changed, 0 insertions, 0 deletions