ngspice/ngspice-xcircuit_bridge.patch

28 lines
1.1 KiB
Diff
Raw Normal View History

--- src/main.c 2009-10-24 08:28:09.000000000 +0200
+++ main.c 2009-11-16 15:05:57.196403105 +0100
@@ -553,6 +553,7 @@
2009-08-09 15:54:16 +00:00
" -i, --interactive run in interactive mode\n"
" -n, --no-spiceinit don't load the local or user's config file\n"
" -o, --output=FILE set the outputfile\n"
+ " -p, --pipe run in I/O pipe mode\n"
2009-08-09 15:54:16 +00:00
" -q, --completion activate command completion\n"
" -r, --rawfile=FILE set the rawfile output\n"
2009-08-09 15:54:16 +00:00
" -s, --server run spice as a server process\n"
@@ -759,6 +760,7 @@
2009-08-09 15:54:16 +00:00
{"interactive", 0, 0, 'i'},
{"no-spiceinit", 0, 0, 'n'},
{"output", 1, 0, 'o'},
+ {"pipe", 0, 0, 'p'},
{"completion", 0, 0, 'q'},
{"rawfile", 1, 0, 'r'},
{"server", 0, 0, 's'},
@@ -766,7 +768,7 @@
2009-08-09 15:54:16 +00:00
{0, 0, 0, 0}
};
- c = getopt_long (argc, argv, "hvbac:ihno:qr:st:",
+ c = getopt_long (argc, argv, "hvbac:ihno:pqr:st:",
long_options, &option_index);
if (c == -1)
break;