private void Run(string[] args)
{
if (args.Length < 1)
ShowUsageAndQuit();
try
{
string romPath = args[0];
if(!File.Exists(romPath))
{
Console.WriteLine("{0} isn't a valid file path", romPath);
}
else
{
ValidateChecksum(romPath);
}
}
catch (Exception ex)
{
Console.WriteLine("It looks like something went wrong. Last message is,{0}{1}", Environment.NewLine, ex.Message);
}
Console.ReadKey(false);
}