lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsee Yarlagadda (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-6962) bin/solr stop -a should complain about missing parameter
Date Mon, 19 Jan 2015 22:02:35 GMT

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

Vamsee Yarlagadda updated SOLR-6962:
------------------------------------
    Attachment: SOLR-6962v2.patch

[~anshumg] Good catch. Thanks for highlighting this.
Updated the patch with fix for both Unix and Windows.

> bin/solr stop -a should complain about missing parameter
> --------------------------------------------------------
>
>                 Key: SOLR-6962
>                 URL: https://issues.apache.org/jira/browse/SOLR-6962
>             Project: Solr
>          Issue Type: Improvement
>          Components: scripts and tools
>    Affects Versions: 5.0
>            Reporter: Alexandre Rafalovitch
>            Priority: Minor
>         Attachments: SOLR-6962.patch, SOLR-6962v2.patch
>
>
> *bin/solr* has a *-a* option that expects a second parameter. If one is not provided,
it hangs.  It should complain and  exit just like *-e* option does.
> The most common time I hit this is when I try to do *bin/solr stop \-all* and instead
just type *bin/solr stop \-a* as I am more used to give full name options with double-dash
prefix (Unix conventions, I guess).



--
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