pipe mode option -p
This commit is contained in:
parent
71104809b2
commit
400100d9c6
|
|
@ -1,5 +1,6 @@
|
||||||
2009-12-07 Holger Vogt
|
2009-12-07 Holger Vogt
|
||||||
* windisp.c: allow aeeting of linewidth by keyboard entry
|
* windisp.c: allow setting of linewidth by keyboard "set xbrushwidth=3"
|
||||||
|
* main.c: option -p "run in pipe mode" added (patch 1465202)
|
||||||
|
|
||||||
2009-12-05: Dietmar Warning
|
2009-12-05: Dietmar Warning
|
||||||
* inpcom.c, line 3090: allow parameter without curly braces in subckt definition
|
* inpcom.c, line 3090: allow parameter without curly braces in subckt definition
|
||||||
|
|
|
||||||
|
|
@ -579,6 +579,7 @@ show_help(void)
|
||||||
" -i, --interactive run in interactive mode\n"
|
" -i, --interactive run in interactive mode\n"
|
||||||
" -n, --no-spiceinit don't load the local or user's config file\n"
|
" -n, --no-spiceinit don't load the local or user's config file\n"
|
||||||
" -o, --output=FILE set the outputfile\n"
|
" -o, --output=FILE set the outputfile\n"
|
||||||
|
" -p, --pipe run in I/O pipe mode\n"
|
||||||
" -q, --completion activate command completion\n"
|
" -q, --completion activate command completion\n"
|
||||||
" -r, --rawfile=FILE set the rawfile output\n"
|
" -r, --rawfile=FILE set the rawfile output\n"
|
||||||
" -s, --server run spice as a server process\n"
|
" -s, --server run spice as a server process\n"
|
||||||
|
|
@ -785,6 +786,7 @@ main(int argc, char **argv)
|
||||||
{"interactive", 0, 0, 'i'},
|
{"interactive", 0, 0, 'i'},
|
||||||
{"no-spiceinit", 0, 0, 'n'},
|
{"no-spiceinit", 0, 0, 'n'},
|
||||||
{"output", 1, 0, 'o'},
|
{"output", 1, 0, 'o'},
|
||||||
|
{"pipe", 0, 0, 'p'},
|
||||||
{"completion", 0, 0, 'q'},
|
{"completion", 0, 0, 'q'},
|
||||||
{"rawfile", 1, 0, 'r'},
|
{"rawfile", 1, 0, 'r'},
|
||||||
{"server", 0, 0, 's'},
|
{"server", 0, 0, 's'},
|
||||||
|
|
@ -792,7 +794,7 @@ main(int argc, char **argv)
|
||||||
{0, 0, 0, 0}
|
{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);
|
long_options, &option_index);
|
||||||
if (c == -1)
|
if (c == -1)
|
||||||
break;
|
break;
|
||||||
|
|
@ -852,6 +854,11 @@ main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'p': /* Run in pipe mode */
|
||||||
|
iflag = TRUE;
|
||||||
|
istty = TRUE;
|
||||||
|
break;
|
||||||
|
|
||||||
case 'q': /* Command completion */
|
case 'q': /* Command completion */
|
||||||
qflag = TRUE;
|
qflag = TRUE;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue