示例#1
0
 protected internal override void AddArguments(Argument.Parser parser)
 {
     parser.Add('c', "config", argument => this.configurations.Add(argument));
     parser.Add('s', "setting", argument => this.settings.Add(argument));
     parser.Add('r', "remote", argument => this.remotes.Add(argument));
     base.AddArguments(parser);
 }
示例#2
0
 protected internal override void AddArguments(Argument.Parser parser)
 {
     base.AddArguments(parser);
     parser.Add('l', "log", () =>
     {
         Error.Log.CatchErrors = true;
         this.SaveLog = true;
         this.LogThreshold = this.AllThreshold = Error.Exception.Threshold = Error.Level.Warning;
     });
 }