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/24 14:28:46 UTC

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

Jan Høydahl created SOLR-7960:
---------------------------------

             Summary: 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
            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.

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