Date:2016-03-21 23:59:38 (7 years 11 months ago)
Author:Werner Almesberger
Commit:377b7f81193685f23c93546767a059e194419446
Message:fped.c: new option -m (for -p and -P) to suppress showing measurements

Files: fped.c (4 diffs)

Change Details

fped.c
11/*
22 * fped.c - Footprint editor, main function
33 *
4 * Written 2009-2012 by Werner Almesberger
5 * Copyright 2009-2012 by Werner Almesberger
4 * Written 2009-2012, 2015 by Werner Almesberger
5 * Copyright 2009-2012, 2015 by Werner Almesberger
66 *
77 * This program is free software; you can redistribute it and/or modify
88 * it under the terms of the GNU General Public License as published by
...... 
8787" -g [-1 package]\n"
8888" write gnuplot output, then exit\n"
8989" -k write KiCad output, then exit\n"
90" -p write Postscript output, then exit\n"
91" -P [-K] [-s scale] [-1 package]\n"
90" -p [-m] write Postscript output, then exit\n"
91" -P [-K] [-m] [-s scale] [-1 package]\n"
9292" write Postscript output (full page), then exit\n"
9393" -T test mode. Load file, then exit\n"
9494" -T -T test mode. Load file, dump to stdout, then exit\n\n"
9595"Common options:\n"
9696" -1 name output only the specified package\n"
9797" -K show the pad type key\n"
98" -m do not show measurements\n"
9899" -s scale scale factor for -P (default: auto-scale)\n"
99100" -s [width]x[heigth]\n"
100101" auto-scale to fit within specified box. Dimensions in mm.\n"
...... 
148149    const char *one = NULL;
149150    int c;
150151
151    while ((c = getopt(argc, argv, "1:gkps:D:I:KPTU:")) != EOF)
152    while ((c = getopt(argc, argv, "1:gkmps:D:I:KPTU:")) != EOF)
152153        switch (c) {
153154        case '1':
154155            one = optarg;
...... 
163164                usage(*argv);
164165            batch = batch_kicad;
165166            break;
167        case 'm':
168            postscript_params.show_meas = 0;
169            break;
166170        case 'p':
167171            if (batch)
168172                usage(*argv);

Archive Download the corresponding diff file

Branches:
master



interactive