Revert "cli: rework the cli parsing to use args4j"

This reverts commit 44f39e1974b6eeff16dd03fb919a8efb6def5ec9.