Give proper error message for missing base name

pull/9/head
Scott Allen 8 years ago
parent 80bd2eaafa
commit e026b19c22
  1. 5
      miditones.c

@ -1006,6 +1006,11 @@ int main (int argc, char *argv[]) {
/* process options */
argno = HandleOptions (argc, argv);
if (argno == 0) {
fprintf (stderr, "\n*** No basefilename given\n\n");
SayUsage (argv[0]);
exit (4);
}
filebasename = argv[argno];
/* Open the log file */

Loading…
Cancel
Save