refresh: Add '--type' option.
commitbcb571cba499c29556d36f17554253d285d4d578
authorLudovic Courtès <ludo@gnu.org>
Wed, 21 Oct 2015 11:04:34 +0000 (21 13:04 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 21 Oct 2015 12:44:41 +0000 (21 14:44 +0200)
tree9f4fca0c2c86333fdcce07680aa465ce3a4d52aa
parenta7aac936253b7def133b935a434e692b00eccab5
refresh: Add '--type' option.

* guix/scripts/refresh.scm (%options, show-help): Add --type.
  (lookup-updater): New procedure.
  (update-package): Add 'updaters' parameter and honor it.
  (guix-refresh)[options->updaters]: New procedure.
  Use it, and honor --type.
doc/guix.texi
guix/scripts/refresh.scm