[
https://issues.apache.org/jira/browse/SOLR-17345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17859933#comment-17859933
]
Gus Heck commented on SOLR-17345:
---------------------------------
+1 for consistency, short opts that conflict can just be assigned an alternate
letter. I'm a fan of the doc-opt systems where the documentation is the
specification. Looks like they do have a bash version...
https://github.com/docopt/docopts
> Should bin/solr allow short/long opts consistently?
> ---------------------------------------------------
>
> Key: SOLR-17345
> URL: https://issues.apache.org/jira/browse/SOLR-17345
> Project: Solr
> Issue Type: Sub-task
> Components: scripts and tools
> Reporter: Jason Gerlowski
> Priority: Trivial
>
> Some "bin/solr" parameters accept only single-character short-opts (e.g.
> "-c"). Others only accept long-opts (e.g. "--collection"). While a third
> set of parameters accepts both short and long options.
> Sometimes this may be intentional, for instance when multiple parameters
> start with the same letter and would conflict if both had a short-opt. But
> in other cases it appears coincidental.
> It's very low priority, but we may want to resolve this inconsistency at some
> point as much as possible and offer both short and long opts (at least where
> possible).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]