Changeset fbcf38a in tol for tolsh/tolsh.vfs/lib/app-tolsh/tolsh.tcl
- Timestamp:
- Dec 16, 2009, 7:31:47 PM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 7954da1
- Parents:
- 38eea65
- File:
-
- 1 edited
-
tolsh/tolsh.vfs/lib/app-tolsh/tolsh.tcl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tolsh/tolsh.vfs/lib/app-tolsh/tolsh.tcl
r38eea65 rfbcf38a 36 36 set options(out,enabled) no 37 37 set options(runmode) "" 38 set options(tolversion) "" 38 39 } 39 40 … … 60 61 # -e?n? --> use english language 61 62 # -s?p? --> use spanish language 62 # -server [port] --> start tol as a server tolsvc.<pid>.log will be the log 63 # -tolversion ver --> specify an strict tol version to start with 64 # -server [port] --> start tol as a server tolsvc.<pid>.log will be the log 63 65 # [port] is the port number where the serve will be listening. 64 66 # … … 133 135 } 134 136 set options(runmode) "interactive" 137 } elseif {$opt eq "tolversion"} { 138 incr i 139 set options(tolversion) [lindex $cmdline $i] 135 140 } elseif {$opt eq "server"} { 136 141 # check if next argument is the port number … … 216 221 -e?n? --> use english language 217 222 -s?p? --> use spanish language 218 -server [port] --> start tol as a server tolsvc.<pid>.log will be the log 219 [port] is the port number where the serve will be listening. 223 -tolversion --> specify an strict tol version to start with 224 -server [port] --> start tol as a server tolsvc.<pid>.log will be the log 225 [port] is the port number where the serve will be listening. 220 226 221 227 Multiple verbose mode is accepted in one option, for instance, … … 329 335 # Load Toltcl (+tol) 330 336 # 331 package require -exact Toltcl 2.0.1 337 if { $options(tolversion) eq "" } { 338 puts "Loading default tol version : [ package require Toltcl ]" 339 } else { 340 puts "Loading requested tol version : $options(tolversion)" 341 package require -exact Toltcl $options(tolversion) 342 } 332 343 333 344 logtmp "after require Toltcl"
Note: See TracChangeset
for help on using the changeset viewer.
