I have a tcl script drakon_gen.tcl
. I am running it, from another script run.tcl
like this:
source "d:\\del 3\\drakon_editor1.22\\drakon_gen.tcl"
When I run run.tcl
I have following output:
This utility generates code from a .drn file.
Usage: tclsh8.5 drakon_gen.tcl <options>
Options:
-in <filename> The input filename.
-out <dir> The output directory. Optional.
Now I need to add to run.tcl
options that are in the output. I tried many ways but I receive errors. What is the right way to add options?