public static void PrintUsage(string error)
{
var n = Environment.NewLine;
if (!string.IsNullOrEmpty(error))
Console.WriteLine(error + n);
var usage = "Usage: AriDEVParser -file <input file> -loader <loader type> " +
"[-filters opcode1,opcode2,...] [-sql <SQL format>] [-nodump <boolean>]" + n + n +
"-file\t\tThe file to read packets from." + n +
"-loader\t\tThe loader to use (AriDEV)." + n +
"-filters\tComma-separated list of opcodes to parse." + n +
"-sql\t\tSQL query format (Mangos/Trinity). Activates SQL dumping." + n +
"-nodump\t\tSet to True to disable file logging.";
Console.WriteLine(usage);
}