You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2018/01/30 17:08:04 UTC
[incubator-pulsar] branch master updated: Fix url option on client
tool (#1146)
This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 8c93ff8 Fix url option on client tool (#1146)
8c93ff8 is described below
commit 8c93ff8529eefcfbc452f3147bae8351d5bc9b2c
Author: hrsakai <hs...@yahoo-corp.jp>
AuthorDate: Wed Jan 31 02:07:59 2018 +0900
Fix url option on client tool (#1146)
---
.../src/main/java/org/apache/pulsar/client/cli/PulsarClientTool.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pulsar-client-tools/src/main/java/org/apache/pulsar/client/cli/PulsarClientTool.java b/pulsar-client-tools/src/main/java/org/apache/pulsar/client/cli/PulsarClientTool.java
index 359919f..5cdbcd8 100644
--- a/pulsar-client-tools/src/main/java/org/apache/pulsar/client/cli/PulsarClientTool.java
+++ b/pulsar-client-tools/src/main/java/org/apache/pulsar/client/cli/PulsarClientTool.java
@@ -100,12 +100,13 @@ public class PulsarClientTool {
public int run(String[] args) {
try {
+ commandParser.parse(args);
+
if (isBlank(this.serviceURL)) {
commandParser.usage();
return -1;
}
- commandParser.parse(args);
if (help) {
commandParser.usage();
return 0;
--
To stop receiving notification emails like this one, please contact
mmerli@apache.org.