aboutsummaryrefslogtreecommitdiff
path: root/test-env.in
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2013-12-13 15:37:57 -0500
committerMark H Weaver <mhw@netris.org>2013-12-14 16:25:02 -0500
commit6447738c013cf205959ca4afd1a97248fb9ccf58 (patch)
tree60686c04644973a605d8d48e114a0bcffe21d813 /test-env.in
parent5839958a8fff80cb36dcf537903a1d22f6ace0a7 (diff)
downloadguix-6447738c013cf205959ca4afd1a97248fb9ccf58.tar
guix-6447738c013cf205959ca4afd1a97248fb9ccf58.tar.gz
guix package: allow multiple arguments after -i, -r, and -u.
* guix/scripts/package.scm (%options): Adapt option processors to accept and return a second seed value: 'arg-handler', which handles bare arguments (if not false). The install, remove, and upgrade option processors return an arg-handler that repeat the same operation. All other option processors return #f as the arg-handler. Make the arguments to install and remove optional. The upgrade option processor deletes (upgrade . #f) from the alist before adding a new entry. (guix-package): Procedures passed to 'args-fold*' accept the new seed value 'arg-handler'. The 'operand-proc' uses 'arg-handler' (if not false). * doc/guix.texi (Invoking guix package): Update docs. * tests/guix-package.sh: Add test.
Diffstat (limited to 'test-env.in')
0 files changed, 0 insertions, 0 deletions