[ https://issues.apache.org/jira/browse/SOLR-16842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17737819#comment-17737819 ]
Houston Putman commented on SOLR-16842: --------------------------------------- So there is a dichotomy with regards to version commands on command line tools. Nowadays, and particular in programs written in go, {{<program> version}} is a common paradigm. Historically, {{<program> -v}} or {{<program> --version}} were popular. Personally, I think {{version}} makes the most sense, since you are commanding that solr output its version. And given this is already the functionality, I don't see a need to change it. The code we are saving here is pretty small, so I don't have an issue keeping it around (and introducing --version, because why not?). But otherwise removing the {{version}} option all together would just be making a set of 4 elements a set of 3 elements. Not much saved. > Eliminate special case code in solrCLI by introducing VersionTool > ----------------------------------------------------------------- > > Key: SOLR-16842 > URL: https://issues.apache.org/jira/browse/SOLR-16842 > Project: Solr > Issue Type: Sub-task > Components: cli > Reporter: Eric Pugh > Assignee: Eric Pugh > Priority: Minor > -- 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