aboutsummaryrefslogtreecommitdiff
path: root/guix-build.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-08-31 17:05:34 +0200
committerLudovic Courtès <ludo@gnu.org>2012-08-31 17:05:34 +0200
commit8759a648ba7fcf76fa2f63ed2d63bbd5ccb8a31c (patch)
tree9756e3f5574a11fef7e147cc4363508536ef0ff7 /guix-build.in
parente815763e69c621412830cada8ded53ccd1b8247f (diff)
downloadguix-8759a648ba7fcf76fa2f63ed2d63bbd5ccb8a31c.tar
guix-8759a648ba7fcf76fa2f63ed2d63bbd5ccb8a31c.tar.gz
guix-build: Fix the "unrecognized option" error message.
* guix-build.in (guix-build): Show the option name when an unrecognized option is passed.
Diffstat (limited to 'guix-build.in')
-rw-r--r--guix-build.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-build.in b/guix-build.in
index ef9cf3bcc9..cd975e6353 100644
--- a/guix-build.in
+++ b/guix-build.in
@@ -132,7 +132,7 @@ Report bugs to: ~a.~%") "@PACKAGE_BUGREPORT@"))
;; Return the alist of option values.
(args-fold args %options
(lambda (opt name arg result)
- (leave (_ "~A: unrecognized option~%") opt))
+ (leave (_ "~A: unrecognized option~%") name))
(lambda (arg result)
(alist-cons 'argument arg result))
%default-options))