Skip to content

Commit

Permalink
update documentation for change in return code of "xschem switch" com…
Browse files Browse the repository at this point in the history
…mand
  • Loading branch information
StefanSchippers committed Sep 7, 2023
1 parent b8d78e5 commit a678c81
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 5 additions & 2 deletions doc/xschem_man/developer_info.html
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ <h1>XSCHEM <a id="cmdref">COMMAND REFERENCE</a> DOCUMENTATION</h1><br>
<li><kbd> gridlayer </kbd> layer number for grid </li>
<li><kbd> help </kbd> command help </li>
<li><kbd> header_text </kbd> header metadata (license info etc) present in schematic </li>
<li><kbd> infowindow_text </kbd> ERC messages </li>
<li><kbd> instances </kbd> number of instances in schematic </li>
<li><kbd> lastsel </kbd> number of selected objects </li>
<li><kbd> line_width </kbd> get line width </li>
Expand Down Expand Up @@ -1097,6 +1098,7 @@ <h1>XSCHEM <a id="cmdref">COMMAND REFERENCE</a> DOCUMENTATION</h1><br>
<li><kbd> format </kbd> set name of custom format attribute used for netlisting </li>
<li><kbd> header_text </kbd> set header metadata (used for license info) </li>
<li><kbd> hide_symbols </kbd> set to 0,1,2 for various hiding level of symbols </li>
<li><kbd> infowindow_text </kbd> ERC messages </li>
<li><kbd> netlist_name </kbd> set custom netlist name </li>
<li><kbd> netlist_type </kbd> set netlisting mode (spice, verilog, vhdl, tedax, symbol) </li>
<li><kbd> no_draw </kbd> set no drawing flag (0 or 1) </li>
Expand Down Expand Up @@ -1160,7 +1162,9 @@ <h1>XSCHEM <a id="cmdref">COMMAND REFERENCE</a> DOCUMENTATION</h1><br>
if 'new_process' is given start a new xschem process </pre>
<li><kbd> switch [window_path |schematic_name]</kbd></li><pre>
Switch context to indicated window path or schematic name
returns the # of windows/tabs in addition to main window/tab</pre>
returns 0 if switch was successfull or 1 in case of errors
(no tabs/windows present or no matching winpath / schematic name
found).</pre>
<li><kbd> symbols [n]</kbd></li><pre>
if 'n' given list symbol with name or number 'n', else
list all used symbols </pre>
Expand Down Expand Up @@ -1266,7 +1270,6 @@ <h1>XSCHEM <a id="cmdref">COMMAND REFERENCE</a> DOCUMENTATION</h1><br>




</ul>

<!-- TCL global variables -->
Expand Down
4 changes: 3 additions & 1 deletion src/scheduler.c
Original file line number Diff line number Diff line change
Expand Up @@ -3829,7 +3829,9 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg

/* switch [window_path |schematic_name]
* Switch context to indicated window path or schematic name
* returns the # of windows/tabs in addition to main window/tab
* returns 0 if switch was successfull or 1 in case of errors
* (no tabs/windows present or no matching winpath / schematic name
* found).
*/
else if(!strcmp(argv[1], "switch"))
{
Expand Down

0 comments on commit a678c81

Please sign in to comment.