diff pads2gpcb/main.c @ 51:f2bcf69fce63

pads2gpcb: -s option to enable footprint silk processing
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 30 Jan 2016 21:32:18 +0000
parents 8fa304e2b7e1
children 9d7e2937883d
line wrap: on
line diff
--- a/pads2gpcb/main.c	Sat Jan 30 21:31:03 2016 +0000
+++ b/pads2gpcb/main.c	Sat Jan 30 21:32:18 2016 +0000
@@ -59,8 +59,11 @@
 	int c;
 	extern int optind;
 
-	while ((c = getopt(argc, argv, "w:")) != EOF)
+	while ((c = getopt(argc, argv, "sw:")) != EOF)
 		switch (c) {
+		case 's':
+			do_footprint_silk = 1;
+			continue;
 		case 'w':
 			process_write_option();
 			continue;