You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/05/08 17:33:01 UTC

[GitHub] merlimat closed pull request #1744: Remove usage() call on ParameterException

merlimat closed pull request #1744: Remove usage() call on ParameterException
URL: https://github.com/apache/incubator-pulsar/pull/1744
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdBase.java b/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdBase.java
index 0669527a4a..90cfd6a7b0 100644
--- a/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdBase.java
+++ b/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdBase.java
@@ -63,7 +63,6 @@ public boolean run(String[] args) {
             } catch (ParameterException e) {
                 System.err.println(e.getMessage());
                 System.err.println();
-                jcommander.usage();
                 return false;
             } catch (ConnectException e) {
                 System.err.println(e.getMessage());


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services