Add port as for simple-netty-server
diff --git a/apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyClientCommand.java b/apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyClientCommand.java
index b63f9c1..d308171 100644
--- a/apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyClientCommand.java
+++ b/apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyClientCommand.java
@@ -10,7 +10,7 @@
* Test Netty client performance.
*/
@Command(scope = "onos", name = "simple-netty-client",
- description = "Starts the simple Netty client")
+ description = "Starts simple Netty client")
public class SimpleNettyClientCommand extends AbstractShellCommand {
//FIXME: replace these arguments with proper ones needed for the test.
diff --git a/apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyServerCommand.java b/apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyServerCommand.java
index 77371f8..3190d10 100644
--- a/apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyServerCommand.java
+++ b/apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyServerCommand.java
@@ -10,15 +10,14 @@
* Starts the Simple Netty server.
*/
@Command(scope = "onos", name = "simple-netty-server",
- description = "Starts the simple netty server")
+ description = "Starts simple Netty server")
public class SimpleNettyServerCommand extends AbstractShellCommand {
//FIXME: Replace these with parameters for
- @Argument(index = 0, name = "port", description = "Port to listen",
+ @Argument(index = 0, name = "port", description = "listen port",
required = false, multiValued = false)
String port = "8081";
-
@Override
protected void execute() {
try {