diff --git a/doc/manpages/xschem.1.in b/doc/manpages/xschem.1.in index 2eaad432..fb78049a 100644 --- a/doc/manpages/xschem.1.in +++ b/doc/manpages/xschem.1.in @@ -66,6 +66,10 @@ Set netlist type to Verilog. Execute specified tcl instructions before any other action, this can be used to change xschemrc variables. .TP +.B --command +Execute specified tcl commands after completing startup. +.TP + .B --script Execute specified tcl file as a command script (perhaps with xschem commands). .TP @@ -94,6 +98,10 @@ Set netlist type to tEDAx. Set netlist type to SPICE. .TP +.B -y, --symbol +Set netlist type to symbol global property edit. +.TP + .B -x, --no_x Dont use X (only command mode). .TP diff --git a/doc/xschem_man/run_xschem.html b/doc/xschem_man/run_xschem.html index fd0a4bf5..e41579ff 100644 --- a/doc/xschem_man/run_xschem.html +++ b/doc/xschem_man/run_xschem.html @@ -57,6 +57,7 @@ Options: -w --verilog Set netlist type to Verilog. --tcl <tcl_script> Execute specified tcl instructions before any other action, this can be used to change xschemrc variables. + --command <tcl_cmd> Execute specified tcl commands after completing startup. --script <file> Execute specified tcl file as a command script (perhaps with xschem commands). --tcp_port <number> Listen to specified tcp port for client connections. (number >=1024). -i --no_rcload Do not load any xschemrc file. diff --git a/src/globals.c b/src/globals.c index cead1ddf..b5bc7566 100644 --- a/src/globals.c +++ b/src/globals.c @@ -184,6 +184,7 @@ char cli_opt_netlist_dir[PATH_MAX] = ""; char cli_opt_filename[PATH_MAX] = ""; /* filename given on cmdline */ int cli_opt_no_readline=0; char *cli_opt_tcl_command = NULL; /* tcl command given on command line with --tcl