Fix url option on client tool
@@ -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;
