// M17n.debug = true;
int argc = 0;
string appdir = "/usr/local/share/m17n";
- int debug_depth = 0;
+ int trace_depth = 0;
while (argc < args.Length && args[argc][0] == '-')
{
- if (args[argc] == "-debug")
- debug_depth = 10;
+ if (args[argc] == "-trace")
+ trace_depth = 10;
else if (args[argc] == "-xml")
appdir = "/usr/local/share/m17n-xml";
argc++;
if (argc + 2 >= args.Length)
{
Console.WriteLine ("Usage: mono [--debug] input.exe"
- + " [-debug] [-xml] LANG NAME KEY-SEQUECE");
+ + " [-trace] [-xml] LANG NAME KEY-SEQUECE");
return;
}
- Xex.DebugDepth = debug_depth;
+ Xex.TraceDepth = trace_depth;
MDatabase.ApplicationDir = appdir;
MInputMethod im = MInputMethod.Find (args[argc], args[argc + 1]);
MText mt = new MText ();