From af6a574948b64757a92c24db9cbd83c1c6ae3e37 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Wed, 5 Jul 2017 18:45:28 -0700 Subject: [PATCH] Add 'lime -version' --- tools/CommandLineTools.hx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/CommandLineTools.hx b/tools/CommandLineTools.hx index 93e0e91c4..3df216b0c 100644 --- a/tools/CommandLineTools.hx +++ b/tools/CommandLineTools.hx @@ -84,6 +84,13 @@ class CommandLineTools { case "": + if (targetFlags.exists ("version")) { + + Sys.println (getToolsVersion ()); + return; + + } + displayInfo (true); case "help":