guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 03/04: compile: Improve error message.


From: Ludovic Courtès
Subject: [Guile-commits] 03/04: compile: Improve error message.
Date: Thu, 19 Jul 2018 12:00:26 -0400 (EDT)

civodul pushed a commit to branch stable-2.2
in repository guile.

commit 85c5bae4fd94f8686d26fd792b7c0f588c23bd94
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 ce7cca4..841acc4 100644
--- a/module/scripts/compile.scm
+++ b/module/scripts/compile.scm
@@ -142,7 +142,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]