From 742c21c52aaddc52debe11ad0bb02659f9cd0c2b Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Fri, 12 Oct 2018 11:04:15 -0700 Subject: [PATCH] Help for -minify should be on build, not run --- tools/CommandLineTools.hx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/CommandLineTools.hx b/tools/CommandLineTools.hx index cfc5896da..477493dfb 100644 --- a/tools/CommandLineTools.hx +++ b/tools/CommandLineTools.hx @@ -1121,22 +1121,22 @@ class CommandLineTools { Log.println (" \x1b[3m(air)\x1b[0m \x1b[1m-ios\x1b[0m -- Target iOS instead of AIR desktop"); Log.println (" \x1b[3m(air)\x1b[0m \x1b[1m-android\x1b[0m -- Target Android instead of AIR desktop"); + if (command != "run" && command != "trace") { + + Log.println (" \x1b[3m(emscripten)\x1b[0m \x1b[1m-webassembly\x1b[0m -- Compile for WebAssembly instead of asm.js"); + Log.println (" \x1b[3m(emscripten|html5)\x1b[0m \x1b[1m-minify\x1b[0m -- Minify application file"); + + } + if (command == "run" || command == "test") { Log.println (" \x1b[3m(emscripten|html5|flash)\x1b[0m \x1b[1m-nolaunch\x1b[0m -- Begin test server without launching"); //Log.println (" \x1b[3m(html5)\x1b[0m \x1b[1m-minify\x1b[0m -- Minify output using the Google Closure compiler"); - Log.println (" \x1b[3m(emscripten|html5)\x1b[0m \x1b[1m-minify\x1b[0m -- Minify application file"); //Log.println (" \x1b[3m(html5)\x1b[0m \x1b[1m-minify -yui\x1b[0m -- Minify output using the YUI compressor"); Log.println (" \x1b[3m(emscripten|html5|flash)\x1b[0m \x1b[1m--port=\x1b[0;3mvalue\x1b[0m -- Set port for test server"); } - if (command != "run" && command != "trace") { - - Log.println (" \x1b[3m(emscripten)\x1b[0m \x1b[1m-webassembly\x1b[0m -- Compile for WebAssembly instead of asm.js"); - - } - Log.println (""); Log.println (" " + Log.accentColor + "Experimental Options:" + Log.resetColor); Log.println ("");