In args4j, I define these parameters:
@Option(name="-host",usage="host to connect") @Option(name="-port",usage="port of the host") @Option(name="-idle",usage="idle")
However, when help appears, args4j always uses alphabetical order to print
-host - host to connect -idle - idle -port - port to connect
This is not convincing because I want to display the required parameters first. I also want to set the order of the parameters myself, because some parameters (for example, the host and port) must go together.
How can I control the order of options in args4j?
I found the same question asked 3 years ago, but did not answer http://markmail.org/message/xce6vitw6miywtos
source share