1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-11 11:55:12 -05:00
pacman/scripts/po
Dave Reisner 8679cd68d8 scripts/library: introduce parseopts
This will replace our current options parser used in pacman-key,
makepkg, and ideally elsewhere. It follows heuristics closer to that of
GNU getopt long (and thus pacman itself), with the exception that it
does not allow for options with optional arguments. Due to the way this
parser will be used, this sort of functionality will not be needed.

Instead of relying on eval+set, options are normalized into an array,
OPTRET, which callers should expect to be populated after returning from
parseopts. This avoids problems with quotes and spaces in arguments,
assuming that the user quotes properly when passing into the
application.

A new test harness for parseopts is added in test/scripts.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-04-24 08:38:36 -05:00
..
.gitignore po/: split into scripts/po/ and src/pacman/po/ 2011-06-23 22:50:01 -05:00
ca.po Update all translation files 2012-03-28 18:05:06 -05:00
cs.po Update all translation files 2012-03-28 18:05:06 -05:00
da.po Updates from Transifex 2012-04-07 10:13:37 -05:00
de.po Updates from Transifex 2012-04-07 10:13:37 -05:00
el.po Update all translation files 2012-03-28 18:05:06 -05:00
en_GB.po Update all translation files 2012-03-28 18:05:06 -05:00
es.po Updates from Transifex 2012-04-07 10:13:37 -05:00
fi.po Update all translation files 2012-03-28 18:05:06 -05:00
fr.po Update all translation files 2012-03-28 18:05:06 -05:00
hu.po Update all translation files 2012-03-28 18:05:06 -05:00
it.po Update all translation files 2012-03-28 18:05:06 -05:00
kk.po Update all translation files 2012-03-28 18:05:06 -05:00
LINGUAS Add new 'lt' and 'zh_TW' translations from transifex 2011-08-25 16:04:41 -05:00
lt.po Update all translation files 2012-03-28 18:05:06 -05:00
Makefile.in.in po/: split into scripts/po/ and src/pacman/po/ 2011-06-23 22:50:01 -05:00
Makevars Final changes before 4.0.1 release 2011-11-20 21:29:46 -06:00
nb.po Update all translation files 2012-03-28 18:05:06 -05:00
pacman-scripts.pot Update all translation files 2012-03-28 18:05:06 -05:00
pl.po Update all translation files 2012-03-28 18:05:06 -05:00
POTFILES.in scripts/library: introduce parseopts 2012-04-24 08:38:36 -05:00
pt_BR.po Update all translation files 2012-03-28 18:05:06 -05:00
pt.po Update all translation files 2012-03-28 18:05:06 -05:00
remove-potcdate.sin po/: split into scripts/po/ and src/pacman/po/ 2011-06-23 22:50:01 -05:00
ro.po Update all translation files 2012-03-28 18:05:06 -05:00
ru.po Updates from Transifex 2012-04-07 10:13:37 -05:00
sk.po Updates from Transifex 2012-04-07 10:13:37 -05:00
sr.po Update all translation files 2012-03-28 18:05:06 -05:00
sr@latin.po Update all translation files 2012-03-28 18:05:06 -05:00
sv.po Update all translation files 2012-03-28 18:05:06 -05:00
tr.po Update all translation files 2012-03-28 18:05:06 -05:00
uk.po Update all translation files 2012-03-28 18:05:06 -05:00
zh_CN.po Update all translation files 2012-03-28 18:05:06 -05:00
zh_TW.po Update all translation files 2012-03-28 18:05:06 -05:00