Repository: flex-utilities Updated Branches: refs/heads/develop 6ff02b556 -> 897e07099
- Added the command to print the help screen. Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/897e0709 Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/897e0709 Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/897e0709 Branch: refs/heads/develop Commit: 897e070999743f99e7401b786d16260f6f6a19d5 Parents: 6ff02b5 Author: Christofer Dutz <christofer.d...@codecentric.de> Authored: Wed Apr 8 22:54:28 2015 +0200 Committer: Christofer Dutz <christofer.d...@codecentric.de> Committed: Wed Apr 8 22:54:28 2015 +0200 ---------------------------------------------------------------------- mavenizer/README.txt | 1 + .../apache/flex/utilities/converter/core/SdkConverterCLI.java | 5 +++++ 2 files changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/897e0709/mavenizer/README.txt ---------------------------------------------------------------------- diff --git a/mavenizer/README.txt b/mavenizer/README.txt index 34009bc..5a80c4c 100644 --- a/mavenizer/README.txt +++ b/mavenizer/README.txt @@ -137,6 +137,7 @@ Using the Apache Flex SDK Converter In gerneral it is able to perform 4 different commands: + - help Prints a list of all commands and options available. - list Lists all versions and platforms available for download - download Downloads selected versions and assembles an FDK - convert Converts a previously installed (using the installer) or http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/897e0709/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java ---------------------------------------------------------------------- diff --git a/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java b/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java index f210afa..32cb60d 100644 --- a/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java +++ b/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java @@ -124,6 +124,11 @@ public class SdkConverterCLI { // Exectute operations //////////////////////////////////////////////////////////////////////////// + // Print the help screen. + if(cmd.getArgList().contains("help")) { + printHelp(options); + } + // Output a list of all available downloads. if(cmd.getArgList().contains("list")) { System.out.println("-----------------------------------------------");