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 2019/11/02 08:18:54 UTC

[GitHub] [pulsar] candlerb commented on issue #5533: Missing CLI error handling in pulsar-admin

candlerb commented on issue #5533: Missing CLI error handling in pulsar-admin
URL: https://github.com/apache/pulsar/issues/5533#issuecomment-549022228
 
 
   Another example:
   
   ```
   $ apache-pulsar-2.4.1/bin/pulsar-admin topics --help
   Unknown option: --help
   
   Exception in thread "main" com.beust.jcommander.ParameterException: Asking description for unknown command: null
   	at com.beust.jcommander.JCommander.getCommandDescription(JCommander.java:1003)
   	at com.beust.jcommander.JCommander.usage(JCommander.java:988)
   	at com.beust.jcommander.JCommander.usage(JCommander.java:980)
   	at com.beust.jcommander.JCommander.usage(JCommander.java:972)
   	at org.apache.pulsar.admin.cli.CmdBase.run(CmdBase.java:49)
   	at org.apache.pulsar.admin.cli.PulsarAdminTool.run(PulsarAdminTool.java:218)
   	at org.apache.pulsar.admin.cli.PulsarAdminTool.main(PulsarAdminTool.java:260)
   ^C
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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