summary refs log tree commit diff
path: root/guix-package.in
diff options
context:
space:
mode:
Diffstat (limited to 'guix-package.in')
-rw-r--r--guix-package.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-package.in b/guix-package.in
index 85ac358555..37a1df0c11 100644
--- a/guix-package.in
+++ b/guix-package.in
@@ -326,7 +326,7 @@ Install, remove, or upgrade PACKAGES in a single transaction.\n"))
                (lambda (opt name arg result)
                  (leave (_ "~A: unrecognized option~%") name))
                (lambda (arg result)
-                 (alist-cons 'argument arg result))
+                 (leave (_ "~A: extraneous argument~%") arg))
                %default-options))
 
   (define (guile-missing?)