You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2015/08/25 07:46:45 UTC

[jira] [Resolved] (SOLR-7960) bin/solr -h should print generic help

     [ https://issues.apache.org/jira/browse/SOLR-7960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl resolved SOLR-7960.
-------------------------------
    Resolution: Fixed

Will be fixed as part of SOLR-7961

> 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
>             Fix For: 5.4
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org