8 extern void parse_file(String s);
10 long_option_init theopts[] = {
21 "--help, -h This help\n"
22 "--warranty, -w show warranty & copyright\n"
23 "--output, -o set default output\n";
28 "LilyPond, a music typesetter.\n"
29 "Copyright (C) 1996 by\n"
30 " Han-Wen Nienhuys <hanwen@stack.urc.tue.nl>\n"
32 " This program is free software; you can redistribute it and/or\n"
33 "modify it under the terms of the GNU General Public License version 2\n"
34 "as published by the Free Software Foundation.\n"
36 " This program is distributed in the hope that it will be useful,\n"
37 "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
38 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n"
39 "General Public License for more details.\n"
41 " You should have received a copy (refer to the file COPYING) of the\n"
42 "GNU General Public License along with this program; if not, write to\n"
43 "the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,\n"
48 main (int argc, char **argv)
50 Getopt_long oparser(argc, argv,theopts);
52 cout << get_version();
54 while (long_option_init * opt = oparser()) {
55 switch ( opt->shortname){
57 set_default_output(oparser.optarg);
72 char *arg = oparser.get_next_arg();