FreeCalypso > hg > ueda-linux
diff pads2gpcb/main.c @ 78:be1fe110b6ab
pads2gpcb: output offset implemented
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Feb 2016 02:22:37 +0000 |
parents | f640c8f005c5 |
children |
line wrap: on
line diff
--- a/pads2gpcb/main.c Mon Feb 01 02:18:06 2016 +0000 +++ b/pads2gpcb/main.c Mon Feb 01 02:22:37 2016 +0000 @@ -39,7 +39,7 @@ extern int optind; extern char *optarg; - while ((c = getopt(argc, argv, "c:fm:s:")) != EOF) + while ((c = getopt(argc, argv, "c:fm:s:x:y:")) != EOF) switch (c) { case 'c': clearance_setting = cmdline_dim_arg(optarg); @@ -54,6 +54,12 @@ do_footprint_silk = 1; select_drawlevel_for_silk(atoi(optarg)); continue; + case 'x': + output_x_offset = cmdline_dim_arg(optarg); + continue; + case 'y': + output_y_offset = cmdline_dim_arg(optarg); + continue; default: usage: fprintf(stderr,