From: Ian Jackson Date: Sun, 7 Jun 2009 17:43:06 +0000 (+0100) Subject: disable yppsc-ocr-resolver test mode X-Git-Tag: 1.9.2~149 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.web-live.git;a=commitdiff_plain;h=aac1ada93b1c972e964f53c47dccd0fe4f8aff3a disable yppsc-ocr-resolver test mode --- diff --git a/pctb/yppsc-ocr-resolver b/pctb/yppsc-ocr-resolver index 016a95e..88c5a41 100755 --- a/pctb/yppsc-ocr-resolver +++ b/pctb/yppsc-ocr-resolver @@ -490,7 +490,10 @@ proc RETURN_RESULT {how what} { #---------- main progrm ---------- -proc main/test {} { +proc main/default {} { + puts stderr "Do not run this program directly." + exit 12 + global glyphsdone unk_l unk_r unk_contexts set glyphsdone { @@ -511,7 +514,7 @@ proc main/test {} { draw_glyphsdone startup_cursor } -proc done/test {} { +proc done/default {} { } proc required {} { @@ -547,7 +550,7 @@ proc done/automatic {} { proc debug {m} { } -set mainkind test +set mainkind default foreach arg $argv { switch -exact -- $arg { {--debug} { proc debug {m} { puts stderr "SHOW-THING $m" } }