# HG changeset patch # User Mychaela Falconia # Date 1454293086 0 # Node ID f640c8f005c56885b0bf640c952d006eeea0cd3d # Parent f673b6ad2a78a3d371a205f6663817ee0a0514f1 pads2gpcb: soldermask and clearance adjustment options added diff -r f673b6ad2a78 -r f640c8f005c5 pads2gpcb/main.c --- a/pads2gpcb/main.c Mon Feb 01 02:14:10 2016 +0000 +++ b/pads2gpcb/main.c Mon Feb 01 02:18:06 2016 +0000 @@ -6,6 +6,8 @@ #include #include "globals.h" +extern long cmdline_dim_arg(); + static parse_header_line() { @@ -37,11 +39,17 @@ extern int optind; extern char *optarg; - while ((c = getopt(argc, argv, "fs:")) != EOF) + while ((c = getopt(argc, argv, "c:fm:s:")) != EOF) switch (c) { + case 'c': + clearance_setting = cmdline_dim_arg(optarg); + continue; case 'f': write_footprint_files = 1; continue; + case 'm': + soldermask_delta = cmdline_dim_arg(optarg); + continue; case 's': do_footprint_silk = 1; select_drawlevel_for_silk(atoi(optarg));