changeset 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 c9acfeed99e6
children 727d4e56d5c8
files pads2gpcb/main.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
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;