X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=pctb%2Fshow-thing.tcl;fp=pctb%2Fshow-thing.tcl;h=0d2ec0c94ba202998858e3e539dc3673c3020bbf;hb=1ae1abc15aae822e996b23e2dc73612b4d401044;hp=be07d2d50fa3f0b5c063430a26826df94238ca87;hpb=909b1d69c7cafc7b50d932a0c1f790c9f91cb430;p=ypp-sc-tools.db-test.git diff --git a/pctb/show-thing.tcl b/pctb/show-thing.tcl index be07d2d..0d2ec0c 100755 --- a/pctb/show-thing.tcl +++ b/pctb/show-thing.tcl @@ -465,9 +465,10 @@ proc done/automatic {} { } switch -exact -- $argv { - {} { set mainkind test } - --automatic { set mainkind automatic } - default { error "huh $argv ?" } + {} { set mainkind test } + {--automatic 1} { set mainkind automatic } + {--automatic*} { error "incompatible versions - install problem" } + default { error "huh $argv ?" } } read_database