| 155 | } |
| 156 | |
| 157 | static void PrintHelp() |
| 158 | { |
| 159 | Console.WriteLine("SourcePawn include file parser by BAILOPAN (edited by pRED*)"); |
| 160 | Console.Write("\n"); |
| 161 | Console.WriteLine("This can parse a single file into SMC configuration format or an entire directory into a template file if -f is not specified (current directory is used if -d is not specified)"); |
| 162 | Console.Write("\n"); |
| 163 | Console.WriteLine("Parameters:"); |
| 164 | Console.Write("\n"); |
| 165 | Console.WriteLine("-f <filename> - Specify an input file to be used"); |
| 166 | Console.WriteLine("-d <path> - Specify a directory to parse (only *.inc files are used)"); |
| 167 | Console.WriteLine("-t <filename> - Specify a template file to be used"); |
| 168 | Console.WriteLine("-o <filename> - Specify an output file to be used"); |
| 169 | Console.WriteLine("-h - Display this help"); |
| 170 | Console.WriteLine("-h template - Displays help about templates"); |
| 171 | } |
| 172 | |
| 173 | static void PrintTemplateHelp() |
| 174 | { |