Is there a proper way of handling options using Apache Commons CLI without a hyphen? So instead of entering "-help" a normal "help" should also work? Or is this not possible/intended because an option would be no longer distinguishable from an argument?
Or is this not possible/intended because an option would be no longer distinguishable from an argument?
Absolutely, that's the reason. And all the libraries I know use the hyphen.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With