args4j can examine your annotated source code and generate HTML table or XML for the list of command line options. You can use this in your build process to generate your documentation, so it's always in sync with your code.

To do so, download args4j-tools and run it as follows:

$ java -jar args4j-tools.jar path/to/my/

To see all the options, run it without any parameters.