Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-27 | Allow empty string as parameter | jeremysolarz | |
2016-12-27 | Add test cases for empty string / just double quotes as parameter | jeremysolarz | |
2016-12-16 | Fix param name error in validator | jeremysolarz | |
When IValueValidator is called it always get's the first name as defined in @Parameter. JCommander should call the validator with the parameter given on the command line | |||
2016-11-02 | Fix indentation for nested sub-commands. | Matt Bray | |
2016-10-08 | Remove commented-out code | Mykhailo Kovalskyi | |
2016-10-08 | Remove verbose code constructs | Mykhailo Kovalskyi | |
- Redundant array creation for calling varargs method. | |||
2016-10-08 | Apply Java language level migration aids | Mykhailo Kovalskyi | |
- 'for' loop replaceable with 'foreach'. - Identical 'catch' branches in 'try' statement. - Explicit type argument can be replaced with <>. | |||
2016-10-08 | Fix code style issues | Mykhailo Kovalskyi | |
- Wildcard type argument '?' explicitly extends 'java.lang.Object'. - Modifier 'public static final' is redundant for interface fields. - Unnecessary semicolon. | |||
2016-09-26 | Delete commented-out code | Simon Legner | |
2016-09-26 | Merge pull request #285 from simon04/refactor-conversion | Cedric Beust | |
Refactor/streamline value conversion | |||
2016-09-22 | Merge pull request #289 from garydgregory/CharArrayConverter | Cedric Beust | |
Adds class CharArrayConverter that implements IStringConverter<char[]> | |||
2016-09-22 | Add unit test CharArrayConverterTest. | Gary Gregory | |
2016-09-22 | Add unit test for InetAddressConverter. | Gary Gregory | |
2016-09-21 | Adds a class InetAddressConverter that implements | Gary Gregory | |
IStringConverter<InetAddress> | |||
2016-09-21 | Adds class CharArrayConverter that implements IStringConverter<char[]> | Gary Gregory | |
2016-09-19 | Skip Path converter when class is not available | Ben Gruver | |
This is a workaround to allow jcommander to run on Android, which doesn't have the java.nio.file.Path class. | |||
2016-09-12 | Refactor/streamline value conversion | Simon Legner | |
In addition, this fixes #162, #266. | |||
2016-09-12 | Allow to specify the @file charset | Simon Legner | |
2016-09-12 | Thread-safe and non-shared converter factories | Simon Legner | |
Makes converter factories thread-safe and non-shared across commander instances. Fixes #278 | |||
2016-09-05 | Merge pull request #280 from simon04/share-options | Cedric Beust | |
Share options with subcommands | |||
2016-09-05 | Share options with sub commands | Simon Legner | |
2016-09-04 | When using `parseWithoutValidation()`, JCommander uses 'parse()' on child ↵ | Simon Legner | |
commanders Fixes #267. | |||
2016-09-01 | Add IStringConverterInstanceFactory | Simon Legner | |
This factory returns instances of string converters. See #196. | |||
2016-08-05 | test for MissingCommandException.getUnknownCommand | Antoine Reilles | |
Make sure we pass the command that was not regognized to the user. | |||
2016-08-05 | Do not forget to update constructor call site too | Antoine Reilles | |
2016-08-05 | Use the `this` constructor as suggested by @cbeust | Antoine Reilles | |
This makes constructors more maintainable: one constructor does the processing. | |||
2016-08-05 | reorder constructor arguments | Antoine Reilles | |
keep parameters in the same order across constructors, to avoid confusion | |||
2016-08-05 | add comment | mmzen | |
2016-08-05 | Allow user to retrieve unknown command | Antoine Reilles | |
When an unknown command is parsed, the MissingCommandException is raised. However, there is no way for the library user to access the erroneous command (except parsing either the arguments or the error message). Such access is helpfull, for instance to provide a better error message, hinting to close commands as git does (try "git pulll"). | |||
2016-04-14 | Streamline the getDescriptionFor method | Portnoy | |
2016-04-07 | Usage no longer has a trailing space at the end of the line. | Carl-Frederik Hallberg | |
2016-03-21 | build: Add support for building jcommander within the AOSP (host only). | Igor Murashkin | |
Bug: 27552463 Change-Id: I71b4f3b26b9307b36444cecc75d67de03be9cb23 | |||
2016-02-28 | Merge shuwada's commit to fix #95. | Cedric Beust | |
Fix #95. https://github.com/shuwada/jcommander/commit/69acd2ec2d01afb7f69a83da54012374c6f126bf | |||
2016-02-15 | Merge pull request #156 from tzellman/master | Cedric Beust | |
Support ability to disable ampersat (@) parsing | |||
2016-02-12 | Updated support for disabling the @/ampersand/at expansion | Tom Zellman | |
- renamed expandAmpersat to expandAtSign - added tests for both enabled/disabled scenarios | |||
2016-01-25 | Merge pull request #212 from cheister/master | Cedric Beust | |
fix NPE if you attempt to call JCommander#usage when you have not specified the @Parameters annotation | |||
2016-01-21 | Wrap usage for commands and main parameters | Evan Ward | |
When commands or main parameters have long descriptions word-wrap the descriptions. Also made some small changes to the indentation algorithm so the number of columns indented is always even. | |||
2016-01-07 | Fix build. | Cedric Beust | |
2015-12-28 | Simple example for use in the documentation | Joseph B. Ottinger | |
2015-12-01 | fixed unused line | Chris Ruffalo | |
2015-12-01 | added ability to read parameters from interfaces | Chris Ruffalo | |
class hierarchy is now described recursively and scanned in one pass for parameterization details | |||
2015-08-23 | Test fix. | Cedric Beust | |
2015-08-09 | Refuse to write to final fields. | Simon Richard Clarkstone | |
The Java compiler will inline (some types of) final fields, so writing to them via reflection will not have the desired effect. This commit makes JCommander throw an exception instead. Original bug report at https://groups.google.com/forum/#!topic/jcommander/RwL1GuPg7L8 | |||
2015-08-09 | Tweaked tests to work on Java 7 and 8. | Simon Richard Clarkstone | |
2015-07-09 | Merge pull request #236 from Antag99/fix-accessibility | Cedric Beust | |
Fix issue where JCommander could not access private fields/methods | |||
2015-07-07 | Fix description line wrapping | Evan Ward | |
The first word of the description was not counted towards the line length so a long first word would result in a very long line written to the terminal. Added proper line length accounting and a unit test. | |||
2015-07-06 | Add unit tests for inaccessible fields/methods/constructors | Anton Gustafsson | |
2015-07-06 | Fix "access" unit test | Anton Gustafsson | |
2015-07-05 | Fix issue where JCommander could not access private fields/methods | Anton Gustafsson | |
2015-05-17 | Merge pull request #179 from gbalats/master | Cedric Beust | |
Updated JCommander.java so that it prioritizes registered converters for enums over generic enum conversion. |