pull: Honor the standard build options.
commit4902d3c4e0376974356481f222583580b49f39e1
authorLudovic Courtès <ludo@gnu.org>
Tue, 9 May 2017 13:45:04 +0000 (9 15:45 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 9 May 2017 16:08:24 +0000 (9 18:08 +0200)
treeff5ccff2d946d510af9390950a04947a986d11e8
parentf0b7dc7edea730e9648b58cc0e651678a843e490
pull: Honor the standard build options.

Reported by Niall Dooley <dooleyn@gmail.com>
in <https://lists.gnu.org/archive/html/help-guix/2017-05/msg00038.html>.

* guix/scripts/pull.scm (%options): Add --dry-run and all of
%STANDARD-BUILD-OPTIONS.
(show-help): Add call to 'show-build-options-help'.
(%default-options): Add 'system', 'substitutes?', 'graft?',
'max-silent-time', and 'verbosity'.
(guix-pull)[parse-options]: Remove.
Use 'parse-command-line' instead.  Honor --dry-run.
doc/guix.texi
guix/scripts/pull.scm