arafalov commented on pull request #1898:
URL: https://github.com/apache/lucene-solr/pull/1898#issuecomment-696296773


   > Okay, so @arafalov I am having NO luck in finding the text `usage:` or 
where it is comiong from... I can live with it...
   
   It helps to see where other invocations do it. So, it seems to be something 
about:
   ```
         if (cli.getOptions().length == 0 || cli.getArgs().length > 0 || 
cli.hasOption("h")) {
           new HelpFormatter().printHelp("bin/solr utils [OPTIONS]", 
getToolOptions(this));
           return 1;
         }
   ```
   
   This tool does not have it, so probably falls back to default implementation 
that constructs default message with getOptions() instead. Not the end of the 
world, but would have been nice to fix.


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to