-x error message fix
authorAndy Wingo <wingo@pobox.com>
Thu, 28 Apr 2011 19:45:02 +0000 (21:45 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 28 Apr 2011 19:45:02 +0000 (21:45 +0200)
* module/ice-9/command-line.scm (compile-shell-switches): Fix error
  message for -x switch.

module/ice-9/command-line.scm

index 670382f..e94336a 100644 (file)
@@ -247,7 +247,7 @@ If FILE begins with `-' the -s switch is mandatory.
 
            ((string=? arg "-x")         ; add to %load-extensions
             (if (null? args)
-                (error "missing argument to `-L' switch"))
+                (error "missing argument to `-x' switch"))
             (set! user-extensions (cons (car args) user-extensions))
             (parse (cdr args)
                    out))