renamed --batch option to --detach as it is more appropriate. Short option -b remains unchanged

This commit is contained in:
Stefan Frederik 2021-10-05 22:24:38 +02:00
parent 07845dec57
commit 813f80e955
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ user:~$ xschem .../xschem_library/examples/0_examples_top.sch
usage: xschem [options] [schematic | symbol ]
Options:
-h --help Print this help.
-b --batch Detach Xschem from console.
-b --detach Detach Xschem from console and fork in the background.
-n --netlist Do a netlist of the given schematic cell.
-v --version Print version information and exit.
-V --vhdl Set netlist type to VHDL.

View File

@ -120,7 +120,7 @@ void check_opt(char *opt, char *optval, int type)
dbg(1, "process_options(): set netlist type to verilog\n");
netlist_type=CAD_VERILOG_NETLIST;
} else if( (type == SHORT && *opt == 'b') || (type == LONG && !strcmp("batch", opt)) ) {
} else if( (type == SHORT && *opt == 'b') || (type == LONG && !strcmp("detach", opt)) ) {
batch_mode = 1;
} else if( (type == SHORT && *opt == 'v') || (type == LONG && !strcmp("version", opt)) ) {

View File

@ -1,7 +1,7 @@
usage: xschem [options] [schematic | symbol ]
Options:
-h --help Print this help.
-b --batch Detach Xschem from console.
-b --detach Detach Xschem from console and fork in the background.
-n --netlist Do a netlist of the given schematic cell.
-v --version Print version information and exit.
-V --vhdl Set netlist type to VHDL.