From: Jaroslav Kysela Date: Wed, 30 Jul 2003 14:14:21 +0000 (+0000) Subject: Added warnings when files were not specified X-Git-Tag: v1.0.3~59 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=131f9a23afda0321a8b1120554017ef368178825;p=alsa-tools.git Added warnings when files were not specified --- diff --git a/seq/sbiload/sbiload.c b/seq/sbiload/sbiload.c index 993f88b..87122c5 100644 --- a/seq/sbiload/sbiload.c +++ b/seq/sbiload/sbiload.c @@ -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 */