diff ueda/sverp-bind/main.c @ 15:c59f52e4bacf

unet-bind option -c reports MCL components with no binding
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 02 Aug 2015 00:39:38 +0000
parents 51893347bc42
children 65a515c20db8
line wrap: on
line diff
--- a/ueda/sverp-bind/main.c	Sun Aug 02 00:34:30 2015 +0000
+++ b/ueda/sverp-bind/main.c	Sun Aug 02 00:39:38 2015 +0000
@@ -7,6 +7,7 @@
 extern char *MCLfile;
 
 char *input_filename, *output_filename;
+int check_completeness;
 
 static void
 usage()
@@ -22,8 +23,11 @@
 	extern char *optarg;
 	register int c;
 
-	while ((c = getopt(argc, argv, "I:M:")) != EOF) {
+	while ((c = getopt(argc, argv, "cI:M:")) != EOF) {
 		switch (c) {
+		case 'c':
+			check_completeness++;
+			break;
 		case 'I':
 			add_symfile_dir(optarg);
 			continue;