guix package: Allow '--rollback', after all.

* guix/scripts/package.scm (%options): Add "rollback" as an alias for
"roll-back".
This commit is contained in:
Ludovic Courtès 2017-06-26 22:51:14 +02:00
parent fc8fdcf56e
commit 0040140d34
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

View File

@ -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)))