I am using commons-cli library to manage options passed to my command. Am building a helpformatter to detail the usage for users.
What am obtaing as output is that :
usage: java mudebs.broker.BrokerMain
startbroker --uri <-this broker URI-> [--neigh <-a remote broker URIs->] [--log <-logger.level->] [--perfconfigfile <-arg->]
but since --neigh and -- log can be sollicited multiple times for the same command
I want to have such an output:
usage: java mudebs.broker.BrokerMain
startbroker --uri <-this broker URI-> [--neigh <-a remote broker URIs->...] [--log <-logger.level->...] [--perfconfigfile <-arg->]
Is that possible ?