You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by mw...@apache.org on 2017/09/26 15:40:27 UTC
[fluo] branch master updated: Fixed error messages (#927)
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 <mw...@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" <co...@fluo.apache.org>'].