You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2018/11/30 10:29:42 UTC

[incubator-plc4x] branch develop updated: Made the example take multiple addresses as input

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 5806147  Made the example take multiple addresses as input
5806147 is described below

commit 5806147d205c922bb69b46f6176f38d0f41c79b7
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Fri Nov 30 11:29:39 2018 +0100

    Made the example take multiple addresses as input
---
 .../main/java/org/apache/plc4x/java/examples/helloplc4x/CliOptions.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/hello-world-plc4x/src/main/java/org/apache/plc4x/java/examples/helloplc4x/CliOptions.java b/examples/hello-world-plc4x/src/main/java/org/apache/plc4x/java/examples/helloplc4x/CliOptions.java
index 4f1326b..e341474 100644
--- a/examples/hello-world-plc4x/src/main/java/org/apache/plc4x/java/examples/helloplc4x/CliOptions.java
+++ b/examples/hello-world-plc4x/src/main/java/org/apache/plc4x/java/examples/helloplc4x/CliOptions.java
@@ -43,7 +43,7 @@ public class CliOptions {
             Option.builder()
                 .type(String.class)
                 .longOpt("field-addresses")
-                .hasArg()
+                .hasArgs()
                 .desc("Field Addresses (Space separated).")
                 .required()
                 .build());