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