aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2020-11-24 07:51:56 +0100
committerGitHub <noreply@github.com>2020-11-24 07:51:56 +0100
commit5cf738b66adc9e8473532b01f7ba345346039b4a (patch)
tree50d5005a09127d459f76785481334a105ea42cba
parentb8d3f133072d020e8cee64d3d328b0b0d37545c1 (diff)
parentcc0d7244b844d0565beadbd4c87f1900a079e0bd (diff)
downloadyosys-5cf738b66adc9e8473532b01f7ba345346039b4a.tar.gz
yosys-5cf738b66adc9e8473532b01f7ba345346039b4a.tar.bz2
yosys-5cf738b66adc9e8473532b01f7ba345346039b4a.zip
Merge pull request #2448 from nitz/tcl-script-documentation-fixes
Tcl script documentation fixes
-rw-r--r--kernel/driver.cc2
1 files changed, 2 insertions, 0 deletions
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");