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