No one has reported this before. I think use of the command line is fairly uncommon, as are filenames with hyphens. I'll fix it for the upcoming release. -d
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
All of the regular expressions used to parse command line options/arguments look like this:
switch -regexp - $arg {
{-*d.*} {
…
but should look like this:
switch -regexp - $arg {
{^-*d.*} {
…
that is, the '-' or '-' should only be matched at the beginning of an option. I happened to have a dash in the middle of a file name and it blew up.
I found these bugs in tkcvs.tcl itself.
No one has reported this before. I think use of the command line is fairly uncommon, as are filenames with hyphens. I'll fix it for the upcoming release. -d