[ 
https://issues.apache.org/jira/browse/SOLR-17442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17885619#comment-17885619
 ] 
ASF subversion and git services commented on SOLR-17442:
--------------------------------------------------------

Commit eda5ec35e6ca7d4102a09c7e14b89ae3580c4cdd in solr's branch 
refs/heads/main from Eric Pugh
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=eda5ec35e6c ]

SOLR-17442: Resolve -v flag conflict (version, value, verbose) (#2721)

Deprecate the various uses of -v, so that we don't have conflicts there.  

---------

Signed-off-by: Eric Pugh <ep...@opensourceconnections.com>

> CLI: Resolve -v flag conflict (version, value, verbose)
> -------------------------------------------------------
>
>                 Key: SOLR-17442
>                 URL: https://issues.apache.org/jira/browse/SOLR-17442
>             Project: Solr
>          Issue Type: Sub-task
>          Components: cli, SolrCLI
>    Affects Versions: main (10.0), 9.6, 9.7, 9.6.1
>            Reporter: Christos Malliaridis
>            Assignee: Eric Pugh
>            Priority: Minor
>              Labels: cli, pull-request-available
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> The CLI code currently uses the -v flag for "version", "value" and "verbose". 
> Since -v is commonly used for printing the current version, it should take 
> precedence over the other options.
> In order to resolve this conflict and to avoid future confussion, we should 
> deprecate (9x) and remove (10.0) the option "verbose" 
> (-v/-V/-verbose/--verbose), introduce "debug" (-d/–debug) in place of 
> "verbose" and deprecate (9x) and remove (10.0) the usage of -v for "value".
> Note that the option of uppercase -V was only partly replaced in previous PRs 
> and should completely be merged and deprecated/removed together with -v 
> according to the above proposal, to avoid further confussion.
> Use the [Solr Arguments - Migration 
> Overview|https://docs.google.com/spreadsheets/d/1ws44kN51WnGwQzOXc8KKRQ93TMgHSqIGb02MRWFel_U/edit?usp=sharing]
>  for a better overview of the current state.



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