1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 00:08:50 -05:00
pacman/scripts
Allan McRae 7d205a70a2 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>
2011-07-19 10:27:53 +10:00
..
library parse_options: accept multiple arguments 2011-07-05 10:22:31 -05:00
po Add library files to POTFILES.in 2011-07-05 10:22:37 -05:00
.gitignore Move some .gitignore entries 2011-07-18 10:28:19 -05:00
Makefile.am fix vim syntax highlighting of .sh files 2011-06-30 10:44:45 -05:00
makepkg.sh.in Merge branch 'maint' 2011-07-18 10:41:37 -05:00
pacman-db-upgrade.sh.in fix vim syntax highlighting of .sh files 2011-06-30 10:44:45 -05:00
pacman-key.sh.in pacman-key: use our option parser 2011-07-19 10:27:53 +10:00
pacman-optimize.sh.in fix vim syntax highlighting of .sh files 2011-06-30 10:44:45 -05:00
pkgdelta.sh.in fix vim syntax highlighting of .sh files 2011-06-30 10:44:45 -05:00
rankmirrors.sh.in fix vim syntax highlighting of .sh files 2011-06-30 10:44:45 -05:00
repo-add.sh.in repo-add: do not print full path of signature file 2011-07-18 10:35:57 -05:00