improved help section

This commit is contained in:
2018-12-09 01:10:18 -06:00
parent 3a0bbc1e89
commit c95835ac3d
2 changed files with 22 additions and 7 deletions

View File

@@ -15,10 +15,19 @@ namespace RecrownedAthenaeum.Tools.TextureAtlasTools
public override string Help(string argument)
{
return "Packs a given directory composed of png and jpg files into an atlas. Can also add 9patch properties.\n" +
"-i path for input directory containing the textures. Required.\n\n" +
"-o path for output files. Points to non-existent file. Will create texture and definitions file with name. Required.\n\n" +
"-9p can be used multiple times for defining a 9patch. This parameter requires a name, left patch, right patch, top patch, and bottom patch in the format name,a,b,c,d. Optional.";
switch (argument)
{
case null:
return "Packs a given directory composed of png and jpg files into an atlas. Can also add 9patch properties. Possible arguments are \"-i\", \"-o\", and \"-9p\". Refer to \"help\" for more info.";
case "-i":
return "-i : path for input directory containing the textures. Required.";
case "-o":
return "-o : path for output files. Points to non-existent file. Will create texture and definitions file with name. Required.";
case "-9p":
return "-9p can be used multiple times for defining a 9patch. This parameter requires a name, left patch, right patch, top patch, and bottom patch in the format name,a,b,c,d. Optional.";
default:
return argument + " is not a valid argument. Type \"help texturepacker to see general help and list of arguments.\"";
}
}
public override void Run(string[] arguments)