SCM_ASSERT_TYPE (scm_is_symbol (var), var, SCM_ARG1,
__FUNCTION__, "symbol");
- if (ly_symbol2scm ("help") == var)
- {
- ly_option_usage ();
- exit (0);
- }
-
if (val == SCM_UNDEFINED)
val = SCM_BOOL_T;
(gs-load-fonts #f
"load fonts via Ghostscript.")
(gui #f "running from gui; redirect stderr to log file")
-
+ (help #f "show this help.")
(include-book-title-preview #t "include book-titles in preview images.")
(include-eps-fonts #t "Include fonts in separate-system EPS files.")
(job-count #f "Process in parallel")
(exit 0)))))
(define-public (lilypond-all files)
+ (if (ly:get-option 'help)
+ (begin
+ (ly:option-usage)
+ (exit 0)))
(if (ly:get-option 'show-available-fonts)
(begin
(ly:font-config-display-fonts)