geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r670020 - /geronimo/gshell/trunk/gshell-rapture/src/main/java/org/apache/geronimo/gshell/rapture/DefaultCommandDocumenter.java
Date Fri, 20 Jun 2008 18:23:18 GMT
Author: jdillon
Date: Fri Jun 20 11:23:17 2008
New Revision: 670020

URL: http://svn.apache.org/viewvc?rev=670020&view=rev
Log:
Update usage display

Modified:
    geronimo/gshell/trunk/gshell-rapture/src/main/java/org/apache/geronimo/gshell/rapture/DefaultCommandDocumenter.java

Modified: geronimo/gshell/trunk/gshell-rapture/src/main/java/org/apache/geronimo/gshell/rapture/DefaultCommandDocumenter.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-rapture/src/main/java/org/apache/geronimo/gshell/rapture/DefaultCommandDocumenter.java?rev=670020&r1=670019&r2=670020&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-rapture/src/main/java/org/apache/geronimo/gshell/rapture/DefaultCommandDocumenter.java
(original)
+++ geronimo/gshell/trunk/gshell-rapture/src/main/java/org/apache/geronimo/gshell/rapture/DefaultCommandDocumenter.java
Fri Jun 20 11:23:17 2008
@@ -19,6 +19,7 @@
 
 package org.apache.geronimo.gshell.rapture;
 
+import org.apache.geronimo.gshell.ansi.Renderer;
 import org.apache.geronimo.gshell.clp.CommandLineProcessor;
 import org.apache.geronimo.gshell.clp.Printer;
 import org.apache.geronimo.gshell.command.CommandAction;
@@ -50,6 +51,8 @@
 
     private GShellPlexusContainer container;
 
+    private Renderer renderer = new Renderer();
+
     // Contextualizable
 
     public void contextualize(final Context context) throws ContextException {
@@ -133,8 +136,8 @@
         out.println();
 
         Printer printer = new Printer(clp);
-        printer.printUsage(out, name);
 
+        printer.printUsage(out, name);
         out.println();
     }
 



Mime
View raw message