scripts: More commands default to verbosity level 1.
* guix/scripts/environment.scm (%default-options): Change 'verbosity' to 1. * guix/scripts/pack.scm (%default-options): Likewise. * guix/scripts/system.scm (guix-system): Likewise, except for the 'build' command.
This commit is contained in:
parent
c1ef50ac79
commit
985730c1af
@ -192,7 +192,7 @@ COMMAND or an interactive shell in that environment.\n"))
|
|||||||
(print-extended-build-trace? . #t)
|
(print-extended-build-trace? . #t)
|
||||||
(multiplexed-build-output? . #t)
|
(multiplexed-build-output? . #t)
|
||||||
(debug . 0)
|
(debug . 0)
|
||||||
(verbosity . 2)))
|
(verbosity . 1)))
|
||||||
|
|
||||||
(define (tag-package-arg opts arg)
|
(define (tag-package-arg opts arg)
|
||||||
"Return a two-element list with the form (TAG ARG) that tags ARG with either
|
"Return a two-element list with the form (TAG ARG) that tags ARG with either
|
||||||
|
@ -629,7 +629,7 @@ please email '~a'~%")
|
|||||||
(print-extended-build-trace? . #t)
|
(print-extended-build-trace? . #t)
|
||||||
(multiplexed-build-output? . #t)
|
(multiplexed-build-output? . #t)
|
||||||
(debug . 0)
|
(debug . 0)
|
||||||
(verbosity . 2)
|
(verbosity . 1)
|
||||||
(symlinks . ())
|
(symlinks . ())
|
||||||
(compressor . ,(first %compressors))))
|
(compressor . ,(first %compressors))))
|
||||||
|
|
||||||
|
@ -1299,8 +1299,7 @@ argument list and OPTS is the option alist."
|
|||||||
(command (assoc-ref opts 'action)))
|
(command (assoc-ref opts 'action)))
|
||||||
(parameterize ((%graft? (assoc-ref opts 'graft?)))
|
(parameterize ((%graft? (assoc-ref opts 'graft?)))
|
||||||
(with-status-verbosity (or (assoc-ref opts 'verbosity)
|
(with-status-verbosity (or (assoc-ref opts 'verbosity)
|
||||||
(if (memq command '(init reconfigure))
|
(if (eq? command 'build) 2 1))
|
||||||
1 2))
|
|
||||||
(process-command command args opts))))))
|
(process-command command args opts))))))
|
||||||
|
|
||||||
;;; Local Variables:
|
;;; Local Variables:
|
||||||
|
Loading…
Reference in New Issue
Block a user