diff options
Diffstat (limited to 'utils/mapsorter/Class1.cs')
| -rw-r--r-- | utils/mapsorter/Class1.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/utils/mapsorter/Class1.cs b/utils/mapsorter/Class1.cs new file mode 100644 index 0000000..40005d5 --- /dev/null +++ b/utils/mapsorter/Class1.cs @@ -0,0 +1,30 @@ +using System; +using System.Text.RegularExpressions; +using System.Collections; +using System.IO; + +namespace MapSorter +{ + + + /// <summary> + /// Summary description for Class1. + /// </summary> + class Class1 + { + /// <summary> + /// The main entry point for the application. + /// </summary> + [STAThread] + static void Main(string[] args) + { + if( args.Length != 1 ) + { + Console.WriteLine("Usage: MapSorter <filename.map>"); + return; + } + + new MapFileLoader(args[0]).DumpReport(); + } + } +} |