copy: Add '--verbosity'.
authorLudovic Courtès <ludo@gnu.org>
Mon, 14 Jan 2019 22:41:30 +0000 (23:41 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 14 Jan 2019 22:43:49 +0000 (23:43 +0100)
commit0ee1e47edba609a614538b043befd8aa8d95ab83
tree8e2f52c20a7c6445dede88208d14a25f1eb6472b
parente98c354d1ad8e0751421b0a3a6c15bd784017501
copy: Add '--verbosity'.

This fixes a regression introduced in
f1de676ea82c2bed9a435fce37ade0186296bfc9 since %DEFAULT-OPTIONS was
missing the 'debug key that 'set-build-options-from-command-line'
expects.

* guix/scripts/copy.scm (show-help, %options): Add '--verbosity'.
(%default-options): Rename 'verbosity' to 'debug'.  Add
'print-build-trace?', 'print-extended-build-trace?',
'multiplexed-build-output?', and 'verbosity'.
(guix-copy): Wrap body in 'with-status-verbosity'.
guix/scripts/copy.scm