[
https://issues.apache.org/jira/browse/SOLR-17423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17877670#comment-17877670
]
ASF subversion and git services commented on SOLR-17423:
--------------------------------------------------------
Commit f0398d56fbaed997640f14da97967e55b7e1d5c6 in solr's branch
refs/heads/branch_9x from Eric Pugh
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=f0398d56fba ]
SOLR-17423: Remove -h as short option for --host, and use --host. (#2674)
Co-authored-by: Christos Malliaridis <[email protected]>
(cherry picked from commit 5f920b17c59176b275708dfd2d04bdb837628648)
> CLI: Resolve -h argument conflict (help/host)
> ---------------------------------------------
>
> Key: SOLR-17423
> URL: https://issues.apache.org/jira/browse/SOLR-17423
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: cli, examples
> Affects Versions: main (10.0), 9.7
> Reporter: Christos Malliaridis
> Priority: Major
> Labels: cli, pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> At the moment RunExampleTool uses -h for providing the hostname. -h is
> commonly known for printing the help / usage. To avoid any confusion for
> beginners and improve the learnability of the CLI, we should deprecate -h in
> RunExampleTool for future 9.X releases and remove it in 10.0 (two PRs
> expected). -h should only be used for printing the help information.
> Note that -h is used via Option.builder("h") and in a raw string as "-h"
> inside RunExampleTool, and deprecation would require both to be updated.
> Please review for any documentation references as well.
> Once the conflict is resolved, the tracking table in [Solr Arguments -
> Migration
> Overview|https://docs.google.com/spreadsheets/d/1ws44kN51WnGwQzOXc8KKRQ93TMgHSqIGb02MRWFel_U/edit?usp=sharing]
> can be updated.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]