*/
Long_option_init theopts[] = {
{0, "debug", 'd', _i ("enable debugging output")},
- {_i ("EXT"), "output-format", 'f', _i ("use output format EXT")},
+ {_i ("EXT"), "output-format", 'f', _i ("use output format EXT (scm, ps, tex or as)")},
{0, "help", 'h', _i ("this help")},
{_i ("DIR"), "include", 'I', _i ("add DIR to search path")},
{_i ("FILE"), "init", 'i', _i ("use FILE as init file")},
{0,0,0, 0}
};
+void
+identify (ostream* os)
+{
+ *os << gnu_lilypond_version_str () << endl;
+}
+
void
usage ()
{
+ identify (&cout);
+ cout << "\n";
cout << _f ("Usage: %s [OPTION]... [FILE]...", "lilypond");
cout << "\n\n";
cout << _ ("Typeset music and or play MIDI from FILE");
"localedir: `" DIR_LOCALEDIR "'\n"
"\n";
- print_mudela_versions (cout);
+
cout << endl;
cout << _f ("Report bugs to %s", "bug-gnu-music@gnu.org") << endl;
}
-void
-identify ()
-{
- cout << gnu_lilypond_version_str () << endl;
-}
-
void
version ()
{
- identify ();
+ identify (&cout);
cout << '\n';
cout << _f (""
"This is free software. It is covered by the GNU General Public License,\n"
break;
}
}
- identify ();
+ identify (&cerr);
#ifdef WINNT
gh_enter (argc, argv, main_prog);