[
https://issues.apache.org/jira/browse/SOLR-17404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Pugh updated SOLR-17404:
-----------------------------
Labels: newdev (was: )
> 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
> Priority: Minor
> Labels: newdev
>
> 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: [email protected]
For additional commands, e-mail: [email protected]