cleaner exit -f xschem -v is given

This commit is contained in:
stefan schippers 2023-06-03 11:41:07 +02:00
parent f9610851e8
commit d4116a3bb0
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,6 @@ void print_version()
printf("\n");
printf("This is free software; see the source for copying conditions. There is NO\n");
printf("warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n");
exit(EXIT_SUCCESS);
}
char *escape_chars(const char *source)

View File

@ -142,7 +142,8 @@ static void check_opt(char *opt, char *optval, int type)
} else if( (type == SHORT && *opt == 'v') || (type == LONG && !strcmp("version", opt)) ) {
print_version();
quit=1;
has_x=0;
} else if( (type == SHORT && *opt == 't') || (type == LONG && !strcmp("tedax", opt)) ) {
dbg(1, "process_options(): set netlist type to tEDAx\n");
cli_opt_netlist_type=CAD_TEDAX_NETLIST;