"\n\
--prepend-library DIRNAME\n\
Adds DIRNAME to the front of the library search path. This option\n\
- takes one value and can be specified once.\n\
-\n\
-Please report bugs to %s.\n\
-\n\
-Additional options may be supported by the band (and described below).\n\
-\n", DEFAULT_LIBRARY_PATH, DEFAULT_STD_BAND, PACKAGE_BUGREPORT);
+ takes one value and can be specified once.\n",
+ DEFAULT_LIBRARY_PATH, DEFAULT_STD_BAND);
}
\f
#ifndef DEFAULT_HEAP_SIZE
outf_flush_console ();
}
if (option_show_help)
- print_help ();
+ {
+ option_batch_mode = true;
+ print_help ();
+ }
if (option_summary)
describe_options ();
}
(values '() #f))
(define (show-command-line-options)
- (write-string "
-
-ADDITIONAL OPTIONS supported by this band:\n")
- (do ((parsers (sort *command-line-parsers*
- (lambda (a b) (string<? (car a) (car b))))
- (cdr parsers)))
- ((null? parsers))
- (let ((description (cadar parsers)))
- (if (not (fix:= 0 (string-length description)))
- (begin
- (newline)
- (write-string description)
- (newline)))))
+ (let ((port (console-error-port)))
+ (do ((parsers (sort *command-line-parsers*
+ (lambda (a b) (string<? (car a) (car b))))
+ (cdr parsers)))
+ ((null? parsers))
+ (let ((description (cadar parsers)))
+ (if (not (fix:= 0 (string-length description)))
+ (begin
+ (newline port)
+ (write-string description port)
+ (newline port)))))
+ (newline port)
+ (write-string "Please report bugs to bug-mit-scheme@gnu.org." port)
+ (newline port))
(exit))
\f
(add-boot-init!