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

Eric Pugh commented on SOLR-16821:
----------------------------------

The AuthTool has ensureArgumentIsValidBooleanIfPresent() method!

> Make all boolean options not take a true/false but just the -option be enough.
> ------------------------------------------------------------------------------
>
>                 Key: SOLR-16821
>                 URL: https://issues.apache.org/jira/browse/SOLR-16821
>             Project: Solr
>          Issue Type: Sub-task
>          Components: cli
>    Affects Versions: 9.2.1
>            Reporter: Eric Pugh
>            Priority: Minor
>
> We have a mish mash of ways of passing in a boolean.  I see "-commit" and 
> "-optimize", but I also see "-prompt true" and "-deleteConfig true".   Let's 
> just make passing in the switch mean true wherever possible.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to