- * use _i () to get entry in POT file
- * call gettext () explicitely for actual "translation" */
-
-static Long_option_init options_static[] =
- {
- {_i ("EXPR"), "evaluate", 'e',
- _i ("set options, use -e '(ly-option-usage)' for help")},
- /* Bug in option parser: --output=foe is taken as an abbreviation
- for --output-format. */
- {_i ("EXT"), "format", 'f', _i ("use output format EXT")},
- {0, "help", 'h', _i ("print this help")},
- {_i ("FIELD"), "header", 'H', _i ("write header field to BASENAME.FIELD")},
- {_i ("DIR"), "include", 'I', _i ("add DIR to search path")},
- {_i ("FILE"), "init", 'i', _i ("use FILE as init file")},
- {0, "dependencies", 'M', _i ("write Makefile dependencies")},
- {0, "no-paper", 'm', _i ("produce MIDI output only")},
- {_i ("FILE"), "output", 'o', _i ("write output to FILE")},
- {_i ("DIR"), "dep-prefix", 'P', _i ("prepend DIR to dependencies")},
- {0, "safe-mode", 's', _i ("run in safe mode")},
- {0, "version", 'v', _i ("print version number")},
- {0, "verbose", 'V', _i ("be verbose")},
- {0, "warranty", 'w', _i ("show warranty and copyright")},
- {0,0,0,0}
- };
+ * use _i () to get entry in POT file
+ * call gettext () explicitely for actual "translation" */
+
+static Long_option_init options_static[]
+= {
+ {_i ("BACK"), "backend", 'b', _i ("use backend BACK (gnome, ps [default],\n scm, svg, tex, texstr)")},
+
+ {_i ("SYM=VAL"), "define-default", 'd',
+ _i ("define a default Scheme setting.")},
+
+ {_i ("EXPR"), "evaluate", 'e', _i ("set scheme option, for help use\n -e '(ly:option-usage)'")},
+ /* Bug in option parser: --output =foe is taken as an abbreviation
+ for --output-format. */
+ {_i ("FORMATs"), "formats", 'f', _i ("dump FORMAT,... Also as separate options:")},
+ {0, "dvi", 0, _i ("generate DVI (tex backend only)")},
+ {0, "pdf", 0, _i ("generate PDF (default)")},
+ {0, "png", 0, _i ("generate PNG")},
+ {0, "ps", 0, _i ("generate PostScript")},
+ {0, "tex", 0, _i ("generate TeX (tex backend only)")},
+ {0, "help", 'h', _i ("print this help")},
+ {_i ("FIELD"), "header", 'H', _i ("dump a header field to file BASENAME.FIELD")},
+ {_i ("DIR"), "include", 'I', _i ("add DIR to search path")},
+ {_i ("FILE"), "init", 'i', _i ("use FILE as init file")},
+ {_i ("FILE"), "output", 'o', _i ("write output to FILE (suffix will be added)")},
+#if HAVE_CHROOT
+ {_i ("USER,GROUP,JAIL,DIR"), "jail", 'j', _i ("chroot to JAIL, become USER:GROUP\n and cd into DIR")},
+#endif
+ {0, "no-print", 0, _i ("do not generate printed output")},
+ {0, "preview", 'p', _i ("generate a preview of the first system")},
+ {0, "safe-mode", 's', _i ("run in safe mode")},
+ {0, "version", 'v', _i ("print version number")},
+ {0, "verbose", 'V', _i ("be verbose")},
+ {0, "warranty", 'w', _i ("show warranty and copyright")},
+ {0, 0, 0, 0}
+};
+
+#define LILYPOND_DATADIR PACKAGE_DATADIR "/" TOPLEVEL_VERSION
+
+static void
+env_var_info (FILE *out, char const* key)
+{
+ if (char const *value = getenv (key))
+ fprintf (out, "%s=\"%s\"\n", key, value);
+}