Move help to a central location; update help

This commit is contained in:
Matt Nadareski
2016-04-06 14:19:01 -07:00
parent 656b5f23ea
commit 503b302828
5 changed files with 99 additions and 80 deletions

View File

@@ -18,7 +18,7 @@ namespace SabreTools
if (args.Length == 0)
{
Help();
Build.Help();
return;
}
@@ -152,13 +152,5 @@ namespace SabreTools
string outPath = Path.GetFileNameWithoutExtension(_filename) + ".new" + Path.GetExtension(_filename);
File.WriteAllText(outPath, Style.Beautify(tempDoc));
}
private static void Help()
{
Console.WriteLine(@"SingleGame.exe <filename> [-r=rootdir|-n]
-r=rootdir Set the directory name for path size
-n Disable single-game mode
");
}
}
}