use debug to print debug info

This commit is contained in:
Qingping Hou
2012-04-19 00:16:49 +08:00
parent 35e4ceaf57
commit 3306346dba
14 changed files with 47 additions and 49 deletions

View File

@@ -56,7 +56,7 @@ function Command:new(keydef, func, help, keygroup, order)
obj.help = help
obj.keygroup = keygroup
obj.order = order
--print("creating command: ["..tostring(keydef).."] keygroup:["..(keygroup or "").."] help:"..help)
--debug("creating command: ["..tostring(keydef).."] keygroup:["..(keygroup or "").."] help:"..help)
return obj
end