guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 51/58: compile: Improve error message.


From: Andy Wingo
Subject: [Guile-commits] 51/58: compile: Improve error message.
Date: Tue, 7 Aug 2018 06:58:38 -0400 (EDT)

wingo pushed a commit to branch lightning
in repository guile.

commit 240cc546599f25e6601420672a793bf181674915
Author: Ludovic Courtès <address@hidden>
Date:   Thu Jul 19 17:57:24 2018 +0200

    compile: Improve error message.
    
    * module/scripts/compile.scm (parse-args): Add missing newline in
    "unrecognized option" message.
---
 module/scripts/compile.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/scripts/compile.scm b/module/scripts/compile.scm
index 924456e..336965d 100644
--- a/module/scripts/compile.scm
+++ b/module/scripts/compile.scm
@@ -127,7 +127,7 @@
 options."
   (args-fold args %options
              (lambda (opt name arg result)
-               (format (current-error-port) "~A: unrecognized option" name)
+               (format (current-error-port) "~A: unrecognized option~%" name)
               (exit 1))
              (lambda (file result)
               (let ((input-files (assoc-ref result 'input-files)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]