Christos Malliaridis created SOLR-17442:
-------------------------------------------

             Summary: 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
      Security Level: Public (Default Security Level. Issues are Public)
          Components: cli, SolrCLI
    Affects Versions: 9.6.1, 9.6, main (10.0), 9.7
            Reporter: Christos Malliaridis


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