I am happy with the current solution of your PR Eric, thanks. I would like to continue with two more flags that may cause confusion or in future additional conflicts. These flags are -f and -s. They are used multiple times in multiple tools for different options or similar options with different naming. Since the user again uses bin/solr most of the cases to initiate an action, using the same flags for different things may cause unnecessary confusion. The tickets https://issues.apache.org/jira/browse/SOLR-17469 and https://issues.apache.org/jira/browse/SOLR-17470 provide all the necessary information about these two flags and propose specific changes. Please have a look.
I would also like to get additional opinions for the proposals, especially for the first one that deprecates -f for "foreground" and uses it only for "force". Since -f is used in Unix very often for forcing something, I thought it fits better to use it for force and leave foreground without a single-letter flag. What do you think? And thanks again to anyone who participates in the conflict resolution, your input is very important for improving the CLI user experience. Not all proposals may improve the CLI, so your input matters. Best, Christos