From 131f9a23afda0321a8b1120554017ef368178825 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 30 Jul 2003 14:14:21 +0000 Subject: [PATCH] Added warnings when files were not specified --- seq/sbiload/sbiload.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.47.1