示例#1
0
        //
        // Shows a short help documentation.
        //
        public static void ShowHelp(string args)
        {
            Program TempProg = new Program();

            Console.WriteLine(Environment.NewLine + "----------------------------------------------------------");
            Console.WriteLine("Command List:");
            Console.WriteLine("----------------------------------------------------------" + Environment.NewLine);

            foreach (var command in TempProg.GetCommands())
            {
                Console.WriteLine(command.Hook + " - " + command.Description);
            }

            Console.WriteLine(Environment.NewLine);
        }