static void Main(string[] args) { if (args.Length == 0) { ShowHelp(Console.Error); return; } var cmd = new CommandLineManager(new UnixCommandLineParser()); cmd.SetupDefaultParsers(); cmd.Setup(typeof(Program)); cmd.ParseArguments(args); }
static void Main(string[] args) { if (args.Length == 0) { ShowHelp(Console.Error); return; } var cmd = new CommandLineManager(new UnixCommandLineParser()); cmd.SetupDefaultParsers(); cmd.Setup(typeof(Program)); cmd.ParseArguments(args); }