Пример #1
0
    public static void PrintUsageAndExit()
    {
      GeneralOptions defaultOptions = new GeneralOptions();

      Console.WriteLine("usage: <general-option>* <assembly>+");
      Console.WriteLine("\nwhere <general-option> is one of");
      defaultOptions.PrintOptions("");
      Console.WriteLine("\nwhere derived options are of");
      defaultOptions.PrintDerivedOptions("");
      Console.WriteLine("\nTo clear a list, use -<option>=");
      Environment.Exit(-1);
    }
Пример #2
0
        public static void PrintUsageAndExit()
        {
            GeneralOptions defaultOptions = new GeneralOptions();

            Console.WriteLine("usage: <general-option>* <assembly>+");
            Console.WriteLine("\nwhere <general-option> is one of");
            defaultOptions.PrintOptions("");
            Console.WriteLine("\nwhere derived options are of");
            defaultOptions.PrintDerivedOptions("");
            Console.WriteLine("\nTo clear a list, use -<option>=");
            Environment.Exit(-1);
        }