summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-07-05 12:14:20 +0200
committerDan McGee <dan@archlinux.org>2011-07-05 17:22:31 +0200
commitbfd6d22be20d939dfd77a75f21c790b55548ab4a (patch)
treec63072e5b125e6158e84b844e8e9722436acb606 /lib/libalpm
parent87ee38d8b3d155310d13e2539e8647a98115df80 (diff)
downloadpacman-bfd6d22be20d939dfd77a75f21c790b55548ab4a.tar.gz
pacman-bfd6d22be20d939dfd77a75f21c790b55548ab4a.tar.xz
parse_options: accept multiple arguments
Allow command-line options to accept multiple arguments without additional quoting by taking the list of arguments until one starting with a "-" is reached. The only current use of this is the --pkg option in makepkg. This allows (e.g.) makepkg --pkg foo bar and packages "foo" and "bar" will be built. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
0 files changed, 0 insertions, 0 deletions