CmdLine 命令行参数解析器实用程序
命令行参数解析器实用程序.NET 2.0兼容public static void Main(string[] arguments) { CmdLine.Option o1 = new CmdLine.Option('f', "file", "File parameter.", false ); CmdLine.Option flag1 = new CmdLine.Option('v', "verbose", "Print verbose output." , true, "FALSE"); CmdLine.Args args = new CmdLine.Args(arguments, new CmdLine.Option[]{o1, flag1}); CmdLine.Option help = args.GetOption('?'); if(help.Ac
用户评论