[
https://issues.apache.org/jira/browse/SOLR-7960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Høydahl reassigned SOLR-7960:
---------------------------------
Assignee: Jan Høydahl
> bin/solr -h should print generic help
> -------------------------------------
>
> Key: SOLR-7960
> URL: https://issues.apache.org/jira/browse/SOLR-7960
> Project: Solr
> Issue Type: Improvement
> Components: scripts and tools
> Reporter: Jan Høydahl
> Assignee: Jan Høydahl
> Priority: Trivial
>
> Typing only:
> {code}
> bin/solr
> {code}
> ...prints the generic tool help, but if you add a -h
> {code}
> bin/solr -h
> {code}
> ...you get an error message and the help for the {{start}} command. In fact,
> any unknown parameter given, such as {{bin/solr -foo}} will assume {{start}}.
> This is confusing, since -h is a common help option. Could check for the
> special case where there is *only* the {{-h}} switch given, in which case we
> should not assume the intention is to do {{start}} but to get help.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]