From 8759a648ba7fcf76fa2f63ed2d63bbd5ccb8a31c Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 31 Aug 2012 17:05:34 +0200 Subject: guix-build: Fix the "unrecognized option" error message. * guix-build.in (guix-build): Show the option name when an unrecognized option is passed. --- guix-build.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix-build.in') 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)) -- cgit v1.2.3