[ 
https://issues.apache.org/jira/browse/SOLR-16766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17721803#comment-17721803
 ] 

Bence Szabó commented on SOLR-16766:
------------------------------------

I wanted to raise a small concern which I found while testing these 
modifications: If the first argument of the script starts with {{-}} we assume 
that the user wants to start solr, which probably can be useful, but it also 
means that if I want to get general help about the script and accidentally have 
a typo in the help command, I will get the help of the start command instead of 
the general help.

Do you think this is something which needs a little bit of attention or am I 
the only one who can not type {{help}} correctly? :D 

These are the lines which explain and do this: 
https://github.com/apache/solr/blob/87627ce0c36228432f4436e7d85f73ef042a9d0b/solr/bin/solr#L951-L956

> Remove -usage as option, and ensure both -help and -h work
> ----------------------------------------------------------
>
>                 Key: SOLR-16766
>                 URL: https://issues.apache.org/jira/browse/SOLR-16766
>             Project: Solr
>          Issue Type: Sub-task
>          Components: cli
>    Affects Versions: 9.2
>            Reporter: Eric Pugh
>            Assignee: Eric Pugh
>            Priority: Trivial
>             Fix For: main (10.0), 9.3
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Nowhere do we mention -usage as a parameter, and it's not one that I ever 
> use.  -help is common, as is -h, so make sure that works everywhere.  there 
> are places wehre -h doesn't work!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to