[ 
https://issues.apache.org/jira/browse/SOLR-16829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17727211#comment-17727211
 ] 

Eric Pugh commented on SOLR-16829:
----------------------------------

Definitly not as pretty as the hand written output!   The first is what we echo 
from the solr shell script, the second is what using commons cli gives you ;-)

(base) ➜  dev git:(SOLR-16829) ✗ bin/solr healthcheck -h

Usage: solr healthcheck [-c collection] [-z zkHost] [-V]

Can be run from remote (non-Solr) hosts, as long as a proper ZooKeeper 
connection is provided

  -c <collection>         Collection to run healthcheck against.

  -z or -zkHost <zkHost>  Zookeeper connection string; unnecessary if ZK_HOST 
is defined in solr.in.sh;
                            otherwise, default is localhost:9983

  -V/-verbose             Enable more verbose output for this script.

(base) ➜  dev git:(SOLR-16829) ✗ bin/solr healthcheck -h
usage: healthcheck
 -c,--collection <COLLECTION>   Name of collection; no default.
 -help                          Print this message
 -verbose                       Enable more verbose command output.
 -z,--zkHost <HOST>             Address of the ZooKeeper ensemble;
                                defaults to: localhost:9983

> Refactor bin/solr and bin/solr.cmd to delegate usage help to SolrCLI
> --------------------------------------------------------------------
>
>                 Key: SOLR-16829
>                 URL: https://issues.apache.org/jira/browse/SOLR-16829
>             Project: Solr
>          Issue Type: Sub-task
>          Components: cli
>    Affects Versions: 9.2.1
>            Reporter: Eric Pugh
>            Priority: Minor
>




--
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