private static void ParseArgs()
 {
     string[] commandLineArgs = Environment.GetCommandLineArgs();
     for (int i = 1; i < commandLineArgs.Length; i++)
     {
         HtmlCmdLine.GetBoolArg(commandLineArgs[i], "?", ref HtmlCmdLine.Help);
         HtmlCmdLine.GetBoolArg(commandLineArgs[i], "h", ref HtmlCmdLine.Help);
         HtmlCmdLine.GetBoolArg(commandLineArgs[i], "help", ref HtmlCmdLine.Help);
     }
 }
        internal static bool GetOption(string name, bool def)
        {
            bool result = def;

            string[] commandLineArgs = Environment.GetCommandLineArgs();
            for (int i = 1; i < commandLineArgs.Length; i++)
            {
                HtmlCmdLine.GetBoolArg(commandLineArgs[i], name, ref result);
            }
            return(result);
        }