From: nitz Date: Tue, 24 Nov 2020 02:48:44 +0000 (-0500) Subject: tcl -h message only if YOSYS_ENABLE_TCL defined. X-Git-Tag: working-ls180~194^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc0d7244b844d0565beadbd4c87f1900a079e0bd;p=yosys.git tcl -h message only if YOSYS_ENABLE_TCL defined. --- diff --git a/kernel/driver.cc b/kernel/driver.cc index 57ed7b8b4..b55f02837 100644 --- a/kernel/driver.cc +++ b/kernel/driver.cc @@ -267,9 +267,11 @@ int main(int argc, char **argv) printf("\n"); printf(" -s scriptfile\n"); printf(" execute the commands in the script file\n"); +#ifdef YOSYS_ENABLE_TCL printf("\n"); printf(" -c tcl_scriptfile\n"); printf(" execute the commands in the tcl script file (see 'help tcl' for details)\n"); +#endif printf("\n"); printf(" -p command\n"); printf(" execute the commands\n");