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] [Resolved] (SOLR-7960) bin/solr -h should print generic help
Date Tue, 25 Aug 2015 05:46:45 GMT

     [ 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


Mime
View raw message