You are here

Problem with command- line- parameter!?

Hi,
i tried to start up Coccinella (.4) with following command- line (Profile is existing and working):
'Coccinella.exe -profile gw.muk-elmshorn.de -debuglevel 4'

I' m always getting following error- messages:

Hook launchFinalHook failed: 1
can't read "profiles": no such variable
while executing
"set prof $profiles"
(procedure "::Profiles::Exists" line 7)
invoked from within
"::Profiles::Exists $argvA(-profile)"
(procedure "ParseCommandLine" line 34)
invoked from within
"ParseCommandLine"
(procedure "::Login::LaunchHook" line 4)
invoked from within
"::Login::LaunchHook"
("eval" body line 1)
invoked from within
"eval $func $args"
can't read "profiles": no such variable
while executing
"set prof $profiles"
(procedure "::Profiles::Exists" line 7)
invoked from within
"::Profiles::Exists $argvA(-profile)"
(procedure "ParseCommandLine" line 34)
invoked from within
"ParseCommandLine"
(procedure "::Login::LaunchHook" line 4)
invoked from within
"::Login::LaunchHook"
("eval" body line 1)
invoked from within
"eval $func $args"

I'm a litle bit confused. Is this a bug of Cocinella or am i wrong with using the command- line?
Is it possible to add a little bit mor documentation about command- line using?

Regards Cliff

Forum: 

My good lord! I sometimes curse Tcl for being a scripting language since there is no compile stage which warns about the most obvious errors. This was a stupid one. Tested using '-profile someProfName' and it works. In cvs.

Sorry that the docs are spares (or absent), but there is a maintenance cost associated with keeping docs and code in sync, and I try to focus on the code.