]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.17
authorfred <fred>
Tue, 17 Dec 1996 00:49:03 +0000 (00:49 +0000)
committerfred <fred>
Tue, 17 Dec 1996 00:49:03 +0000 (00:49 +0000)
src/main.cc

index 7ff09dfc347d0cd3016806fb923053070de042b2..c4b48ff238ff6bb716beb13926387f1c0dee219a 100644 (file)
@@ -29,6 +29,7 @@ help()
 void notice()
 {
     cout <<
+       "\n"
        "LilyPond, a music typesetter.\n"
        "Copyright (C) 1996 by\n"
        "  Han-Wen Nienhuys <hanwen@stack.nl>\n"
@@ -77,11 +78,18 @@ main (int argc, char **argv)
            break;
        }
     }
-    char *arg = oparser.get_next_arg();
-
-    if (!arg) arg = "";
-    parse_file(arg);
 
-    do_scores();
+    int p=0;
+    char *arg ;
+    while ( (arg= oparser.get_next_arg()) ) {
+       parse_file(arg);        
+       do_scores();
+       p++;
+    }
+    if (!p) {
+       parse_file(""); 
+       do_scores();
+    }
+       
     exit (0);
 }