]> git.alsa-project.org Git - alsa-tools.git/commitdiff
Added warnings when files were not specified
authorJaroslav Kysela <perex@perex.cz>
Wed, 30 Jul 2003 14:14:21 +0000 (14:14 +0000)
committerJaroslav Kysela <perex@perex.cz>
Wed, 30 Jul 2003 14:14:21 +0000 (14:14 +0000)
seq/sbiload/sbiload.c

index 993f88ba6d8665c0e0fa22d4d2da11df16be0658..87122c5a05425c95d7080f530510b2ca2bdcbb43 100644 (file)
@@ -654,12 +654,16 @@ main (int argc, char **argv) {
       finish_client();
       return 1;
     }
+  } else {
+    fprintf(stderr, "Warning: instrument file was not specified\n");
   }
   if (optind < argc) {
     if (load_file (128, argv[optind]) < 0) {
       finish_client();
       return 1;
     }
+  } else {
+    fprintf(stderr, "Warning: drum file was not specified\n");
   }
 
   /* Unsubscribe destination port and close client */