aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-06-26 22:51:14 +0200
committerLudovic Courtès <ludo@gnu.org>2017-06-26 22:52:06 +0200
commit0040140d34fc12c5205d806c5e8dfee627cb1b83 (patch)
tree3455d27d1895331068e46edaff4c69672879ae28
parentfc8fdcf56ecc159cb4e85ffdde60a54c4fa5c04f (diff)
downloadguix-0040140d34fc12c5205d806c5e8dfee627cb1b83.tar.gz
guix-0040140d34fc12c5205d806c5e8dfee627cb1b83.zip
guix package: Allow '--rollback', after all.
* guix/scripts/package.scm (%options): Add "rollback" as an alias for "roll-back".
-rw-r--r--guix/scripts/package.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index 400623d41b..58da3113a0 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -496,7 +496,7 @@ Install, remove, or upgrade packages in a single transaction.\n"))
(alist-cons 'do-not-upgrade arg result)
result)
arg-handler))))
- (option '("roll-back") #f #f
+ (option '("roll-back" "rollback") #f #f
(lambda (opt name arg result arg-handler)
(values (alist-cons 'roll-back? #t result)
#f)))