lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <j...@apache.org>
Subject [jira] [Created] (SOLR-7960) bin/solr -h should print generic help
Date Mon, 24 Aug 2015 12:28:46 GMT
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


Mime
View raw message