guix package: Allow '--rollback', after all.
* guix/scripts/package.scm (%options): Add "rollback" as an alias for "roll-back".
This commit is contained in:
parent
fc8fdcf56e
commit
0040140d34
|
@ -496,7 +496,7 @@ Install, remove, or upgrade packages in a single transaction.\n"))
|
||||||
(alist-cons 'do-not-upgrade arg result)
|
(alist-cons 'do-not-upgrade arg result)
|
||||||
result)
|
result)
|
||||||
arg-handler))))
|
arg-handler))))
|
||||||
(option '("roll-back") #f #f
|
(option '("roll-back" "rollback") #f #f
|
||||||
(lambda (opt name arg result arg-handler)
|
(lambda (opt name arg result arg-handler)
|
||||||
(values (alist-cons 'roll-back? #t result)
|
(values (alist-cons 'roll-back? #t result)
|
||||||
#f)))
|
#f)))
|
||||||
|
|
Loading…
Reference in New Issue