On 26-5-2010 12:20, Mojca Miklavec wrote:
Hans,
why don't you add a special-case in this case:
context test MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
if 'context.lua' cannot be found then either: a) instead of printing out "unknown script 'context.lua'" print out "please run 'luatools --generate'" - it will be less confusing for users
and then with any typo a generate? no fun
b) or (may be even better) try to run "luatools --generate" automatically and then retry
see email taco ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------