Exemple #1
0
        private void SetSystemCommand(string command)
        {
            command = command.TrimStart(SystemArgumentPrefex.ToArray());

            switch (command.ToLowerInvariant())
            {
            case "h":
            case "?":
            case "help":
                SystemSettings.Help = true;
                break;

            default:
                SystemSettings.Help = true;
                break;
            }
        }
Exemple #2
0
 private bool IsSystemCommand(string command)
 {
     return(SystemArgumentPrefex.Contains(command[0]));
 }