diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-07-08 10:41:50 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-07-08 10:41:50 +0000 |
commit | 9e133df4dce682f0acf3bed83419f1b44d9b84b0 (patch) | |
tree | ba9934110de681fecec49d9480ae0bb5da4d7adb /sca-java-2.x/trunk/modules/shell | |
parent | 769618664f43fdfaa793f61ec5024be404eff8e8 (diff) |
Update gen'd help to also include the short one line description
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1144245 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/shell')
-rw-r--r-- | sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java index 4aa55d658c..b49265fea1 100644 --- a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java +++ b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java @@ -801,6 +801,8 @@ public class Shell { if (command == null) {
helpOverview();
} else if (commands.keySet().contains(command)) {
+ out.println(commands.get(command).getShortHelp());
+ out.println();
out.println(commands.get(command).getHelp());
} else if ("help".equalsIgnoreCase(command)) {
helpHelp();
|