Re: MixedCase or dashed-case for long options in Solr CLI?

2024-03-17 Thread Eric Pugh
Thanks for chiming in. Yes, this would be 10 only change. Have you been able to try out the Windows scripts? > On Mar 17, 2024, at 3:05 PM, Shawn Heisey wrote: > > On 3/17/2024 13:01, Shawn Heisey wrote: >> I like there to be a single character option and a kebab-case option. So -z >>

Re: MixedCase or dashed-case for long options in Solr CLI?

2024-03-17 Thread Shawn Heisey
On 3/17/2024 13:01, Shawn Heisey wrote: I like there to be a single character option and a kebab-case option. So -z and --zk-host.  Long options like find uses, such as -name, can be OK, but if you're going for standardization, I would just stick with the first two. In cases where there might

Re: MixedCase or dashed-case for long options in Solr CLI?

2024-03-17 Thread Shawn Heisey
On 2/24/2024 09:34, Eric Pugh wrote: I wanted to get the communities input on formatting of long options for the Solr CLI. I noticed on https://commons.apache.org/proper/commons-cli/ that their examples all are —dashed-case. However, we have —solrUrl or —zkHost as our pattern. Though in wo