pgier commented on PR #18889: URL: https://github.com/apache/pulsar/pull/18889#issuecomment-1351688601
@tisonkun AFAICT even the latest versions of JCommander don't handle this. If you specify an unnamed set of args, JCommander will interpret any unknown options as args, and there doesn't seem to be a way to check for this other than the manual check. Yes, pulsar allows topics that start with `-`, although I would probably argue that it shouldn't. I wasn't sure how common that use case is, that's why I put a note in the error message that a user can just use a fully qualified topic name if they have a topic with a `-`. -- 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. To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org