We are using commons-cli here for command-line options. This framework is rather incomplete in its coverage. Switch to using argparse4j, which is also used yang-validation-tool.
Modernize both tools' interactions with argparse4j to the latest best recommended practice.