fluo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwa...@apache.org
Subject [fluo] branch master updated: Fixed error messages (#927)
Date Tue, 26 Sep 2017 15:40:27 GMT
This is an automated email from the ASF dual-hosted git repository.

mwalch pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/fluo.git


The following commit(s) were added to refs/heads/master by this push:
     new eb2b7db  Fixed error messages (#927)
eb2b7db is described below

commit eb2b7db34cbe524f094cbca03139cfe57d8831dc
Author: Mike Walch <mwalch@apache.org>
AuthorDate: Tue Sep 26 11:40:23 2017 -0400

    Fixed error messages (#927)
---
 modules/command/src/main/java/org/apache/fluo/command/ConfigOpts.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/command/src/main/java/org/apache/fluo/command/ConfigOpts.java b/modules/command/src/main/java/org/apache/fluo/command/ConfigOpts.java
index 7cb741b..09c9dea 100644
--- a/modules/command/src/main/java/org/apache/fluo/command/ConfigOpts.java
+++ b/modules/command/src/main/java/org/apache/fluo/command/ConfigOpts.java
@@ -47,12 +47,12 @@ public class ConfigOpts extends BaseOpts {
         String key = propArgs[0].trim();
         String value = propArgs[1].trim();
         if (key.isEmpty() || value.isEmpty()) {
-          throw new IllegalArgumentException("Invalid command line -D option: " + prop);
+          throw new IllegalArgumentException("Invalid command line -o option: " + prop);
         } else {
           config.setProperty(key, value);
         }
       } else {
-        throw new IllegalArgumentException("Invalid command line -D option: " + prop);
+        throw new IllegalArgumentException("Invalid command line -o option: " + prop);
       }
     }
   }

-- 
To stop receiving notification emails like this one, please contact
['"commits@fluo.apache.org" <commits@fluo.apache.org>'].

Mime
View raw message