Add initial support for '--output-file' option on 'display' command

This commit is contained in:
Joshua Granick
2019-03-18 12:01:28 -07:00
parent 6c01e873af
commit b795534773
10 changed files with 101 additions and 10 deletions

View File

@@ -1015,6 +1015,15 @@ class CommandLineTools
Log.println(" \x1b[1m--source\x1b[0;3m=value\x1b[0m -- Add an additional <source/> value");
Log.println(" \x1b[1m--certificate-\x1b[0;3moption=value\x1b[0m -- Override a project <certificate/> setting");
}
if (command == "display")
{
Log.println("");
Log.println(" " + Log.accentColor + "Display Options:" + Log.resetColor);
Log.println("");
Log.println(" \x1b[3m(no option)\x1b[0m -- Display HXML build arguments");
Log.println(" \x1b[1m--output-file\x1b[0m -- Display the output file for the project");
}
}
}
@@ -2117,6 +2126,10 @@ class CommandLineTools
{
targetFlags.set("help", "");
}
else if (argument == "--output-file")
{
targetFlags.set ("output-file", "");
}
else if (argument.substr(0, 1) == "-")
{
if (argument == "-dce" || argument.substr(1, 1) == "-")