diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-08-31 17:05:34 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-08-31 17:05:34 +0200 |
commit | 8759a648ba7fcf76fa2f63ed2d63bbd5ccb8a31c (patch) | |
tree | 9756e3f5574a11fef7e147cc4363508536ef0ff7 /guix-build.in | |
parent | e815763e69c621412830cada8ded53ccd1b8247f (diff) | |
download | 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.in | 2 |
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)) |