FreeCalypso > hg > ueda-linux
comparison pads2gpcb/main.c @ 62:9d7e2937883d
pads2gpcb: select specific drawing levels for silk with -s
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 31 Jan 2016 05:30:33 +0000 |
parents | f2bcf69fce63 |
children | 6a1197106b6f |
comparison
equal
deleted
inserted
replaced
61:ff1d565d233c | 62:9d7e2937883d |
---|---|
56 main(argc, argv) | 56 main(argc, argv) |
57 char **argv; | 57 char **argv; |
58 { | 58 { |
59 int c; | 59 int c; |
60 extern int optind; | 60 extern int optind; |
61 extern char *optarg; | |
61 | 62 |
62 while ((c = getopt(argc, argv, "sw:")) != EOF) | 63 while ((c = getopt(argc, argv, "s:w:")) != EOF) |
63 switch (c) { | 64 switch (c) { |
64 case 's': | 65 case 's': |
65 do_footprint_silk = 1; | 66 do_footprint_silk = 1; |
67 select_drawlevel_for_silk(atoi(optarg)); | |
66 continue; | 68 continue; |
67 case 'w': | 69 case 'w': |
68 process_write_option(); | 70 process_write_option(); |
69 continue; | 71 continue; |
70 default: | 72 default: |