Looking for the latest version? Download argparse4j-0.5.0.jar (83.8 kB)
Home / argparse4j-0.2.2
Name Modified Size Downloads / Week Status
Parent folder
Totals: 4 Items   449.7 kB 3
argparse4j-0.2.2-javadoc.jar 2012-10-07 313.3 kB 11 weekly downloads
README.rst 2012-10-07 1.5 kB
argparse4j-0.2.2-sources.jar 2012-10-07 70.4 kB 11 weekly downloads
argparse4j-0.2.2.jar 2012-10-07 64.5 kB 11 weekly downloads

argparse4j 0.2.2

Release Note

This release brings several enhancements to the existing features. In Arg annotation, 'dest' argument is now optional. Also inheritance chain is queried when searching fields and methods. When dealing with variable number of positional arguments, the default value is not overridden with empty list if no argument is given.


  • Only override default for posArgs when there is at least one given. - Don't call the action with an empty list if no parameter was given

    for a posArgs with nArgs("*")

    • In case default has not been set, an empty list should be returned (ensured by #testParseArgsWithPosargOutOfIndex())

    Patch from Brice Jaglin.

  • Included superclasses containing annotations. Modified the method that queries for the Arg annotation so that it also includes the fields and methods declared in superclasses. Patch from Juan Manuel Caicedo Carvajal.

  • Arg annotation - Made the 'dest' argument optional. The 'dest' argument of the Arg annotation now it's optional. The parser will use the name of the annotated field or method in case that the argument was not provided. Patch from Juan Manuel Caicedo Carvajal.

argparse4j 0.2.1

Release Note

This release fixes the bug that empty line is printed if help message for argument is empty and flag is longer than certain length.


  • Don't print empty line if help message for argument is empty.
Source: README.rst, updated 2012-10-07

Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks