public override void OptionMatched(string arg) { base.OptionMatched(arg); // handle the option if (arg.IndexOf("=") == -1) { // set the global value TraceCore.GlobalTraceLevel = Int32.Parse(arg); } else { string[] ray = CommandOption.ParseOption(arg); TraceCore.SetTraceLevel(ray[0], Int32.Parse(ray[1])); } }