I have a code, if they match opt, then print opt-content
But result is not my expected:
How do I solved it?
I type:
$tclsh t.tcl -B bb -O oo
I got:
bb
bb
oo
--------
Non
--------
oo
bb
oo
--------
Non
--------
My code
package require cmdline
set parameters {
{B.arg "" "Build Dir"}...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.