diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-09 09:51:54 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-09 09:51:54 +0000 |
commit | cb78950bc2db043e2a331ee063c91b48d4cdf176 (patch) | |
tree | ffe3db43c355cec70fb6e493d336a1fcc3caac2b | |
parent | d2c49758af153d02fc6df5d28f5125737cdce402 (diff) |
Update to show command help at startup
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1068816 13f79535-47bb-0310-9956-ffa450edef68
2 files changed, 2 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/maven/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyRunMojo.java b/sca-java-2.x/trunk/maven/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyRunMojo.java index f9c697bc7c..ab2eefdf26 100644 --- a/sca-java-2.x/trunk/maven/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyRunMojo.java +++ b/sca-java-2.x/trunk/maven/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyRunMojo.java @@ -104,6 +104,7 @@ public class TuscanyRunMojo extends AbstractMojo { addAdditionalContributions(contributionList);
+ contributionList.add(0, "-help");
contributionList.add(0, config);
try {
diff --git a/sca-java-2.x/trunk/maven/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyShellMojo.java b/sca-java-2.x/trunk/maven/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyShellMojo.java index da1e715bec..5002da79b3 100644 --- a/sca-java-2.x/trunk/maven/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyShellMojo.java +++ b/sca-java-2.x/trunk/maven/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyShellMojo.java @@ -58,6 +58,7 @@ public class TuscanyShellMojo extends AbstractMojo { while (st.hasMoreTokens()) {
cs.add(st.nextToken());
}
+ cs.add(0, "-help");
cs.add(0, domain);
args = cs.toArray(new String[cs.size()]);
} else {
|