]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/main.cc
* lily/GNUmakefile (MODULE_INCLUDES): remove ttftool
[lilypond.git] / lily / main.cc
index 415425bef6bccddccaa01ef542bf66e32d9f952a..1efd32303b8239b252de73c015080d8c1712b714 100644 (file)
@@ -5,7 +5,7 @@
 
   (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
-
 #include "main.hh"
 
 #include <cassert>
@@ -40,6 +40,7 @@
 #include "string-convert.hh"
 #include "version.hh"
 #include "warn.hh"
+#include "program-option.hh"
 
 /*
  * Global options that can be overridden through command line.
@@ -55,7 +56,7 @@ String init_name_global;
    One of (gnome, ps [default], scm, svg, tex, texstr)") */
 String output_backend_global = "ps";
 /* Output formats to generate.  */
-String output_format_global = "pdf";
+String output_format_global = "";
 
 bool is_pango_format_global;
 bool is_TeX_format_global;
@@ -526,6 +527,9 @@ main_with_guile (void *, int, char **)
 
   ly_c_init_guile ();
   call_constructors ();
+  ly_set_option (ly_symbol2scm ("verbose"), scm_from_bool (be_verbose_global));
+
+  
   init_global_tweak_registry ();
   init_fontconfig ();
 
@@ -709,6 +713,9 @@ parse_argv (int argc, char **argv)
        }
     }
 
+  if (output_format_global == "")
+    output_format_global = "pdf";
+      
   if (show_help)
     {
       identify (stdout);