refresh: Turn on warnings when '--manifest' is used.

* guix/scripts/refresh.scm (guix-refresh): Set WARN? when '-m' is used.
master
Ludovic Courtès 2019-01-11 11:49:03 +01:00
parent fca43e14f7
commit 7489207ff7
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 1 deletions

View File

@ -484,7 +484,8 @@ all are dependent packages: ~{~a~^ ~}~%")
;; Warn about missing updaters when a package is explicitly given on
;; the command line.
(warn? (and (or (assoc-ref opts 'argument)
(assoc-ref opts 'expression))
(assoc-ref opts 'expression)
(assoc-ref opts 'manifest))
(not recursive?))))
(with-error-handling
(with-store store