*** empty log message ***
[m17n/m17n-lib-cs.git] / input.cs
index 6eb133f..18e513d 100644 (file)
--- a/input.cs
+++ b/input.cs
@@ -29,12 +29,12 @@ public class Test
     // 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++;
@@ -42,11 +42,11 @@ public class Test
     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 ();