Eric Pugh created SOLR-17404:
--------------------------------

             Summary: Tweak Tool.java to support the sub command use case
                 Key: SOLR-17404
                 URL: https://issues.apache.org/jira/browse/SOLR-17404
             Project: Solr
          Issue Type: Sub-task
          Components: cli, documentation
            Reporter: Eric Pugh


Tool.java provides some methods to handle nice --help output.

for the bin/solr zk subcommands, if you call getUsage you get bin/solr 
mycommand, but for zk commands we need bin/solr zk mycommand, and Tool.java 
doesn't support that.

We need a getSubcommand on Tool.java that returns null, but for subcommands 
they can provide a " zk " string, so we get teh bin/solr zk mycommand output!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to