geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r594733 - /geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshCommand.java
Date Wed, 14 Nov 2007 01:01:12 GMT
Author: jdillon
Date: Tue Nov 13 17:01:11 2007
New Revision: 594733

URL: http://svn.apache.org/viewvc?rev=594733&view=rev
Log:
Add cli desc

Modified:
    geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshCommand.java

Modified: geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshCommand.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshCommand.java?rev=594733&r1=594732&r2=594733&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshCommand.java
(original)
+++ geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshCommand.java
Tue Nov 13 17:01:11 2007
@@ -42,19 +42,19 @@
 public class RshCommand
     extends CommandSupport
 {
-    @Option(name="-b", aliases={"--bind"}, metaVar="URI")
+    @Option(name="-b", aliases={"--bind"}, metaVar="URI", description="Bind local address
to URI")
     private URI local;
 
-    @Option(name="-u", aliases={"--username"}, metaVar="USERNAME")
+    @Option(name="-u", aliases={"--username"}, metaVar="USERNAME", description="Remote user
name")
     private String username;
 
-    @Option(name="-p", aliases={"--password"}, metaVar="PASSWORD")
+    @Option(name="-p", aliases={"--password"}, metaVar="PASSWORD", description="Remote user
password")
     private String password;
     
-    @Argument(metaVar="URI", required=true, index=0)
+    @Argument(metaVar="URI", required=true, index=0, description="Connect to remote server
at URI")
     private URI remote;
 
-    @Argument(metaVar="COMMAND", index=1, multiValued=true)
+    @Argument(metaVar="COMMAND", index=1, multiValued=true, description="Execute COMMAND
in remote shell")
     private List<String> command = new ArrayList<String>();
 
     @Requirement



Mime
View raw message