static void ShowHelp(OptionSet p, string error)
{
if (error != null)
{
Console.WriteLine(error);
Console.WriteLine();
}
Console.WriteLine("Usage: AAA [OPTIONS]");
Console.WriteLine("Used to install or uninstall the PnkBstrA|B service for debugging..");
Console.WriteLine();
Console.WriteLine("Options:");
p.WriteOptionDescriptions(Console.Out);
Console.WriteLine("Example Usage: AAA -i -s=PnkBstrB -f \"C:\\tools\\pin\\ia32\\bin\\pin.exe -t C:\\tools\\pin\\MemWatcher.dll -o C:\\tools\\pin\\MemWatcherB.log -- C:\\tools\\PnkBstrB.exe\"");
}