summaryrefslogtreecommitdiffstats
path: root/src/main
Commit message (Collapse)AuthorAgeFilesLines
* build: Add support for building jcommander within the AOSP (host only).Igor Murashkin2016-03-211-3/+7
| | | | | Bug: 27552463 Change-Id: I71b4f3b26b9307b36444cecc75d67de03be9cb23
* Allow users to create ParameterException with description and causeNikolay Martynov2015-04-091-0/+4
| | | | | This is useful in custom validators: it may want to provide both description and exception caused it. E.g. in case of file operations
* Added enum constants to usage outputTKlerx2015-03-131-0/+5
|
* Added default converters for Path, URI and URLTKlerx2015-03-131-0/+9
|
* Merge pull request #189 from samvv/masterCedric Beust2015-03-113-0/+128
|\ | | | | Added converters for URIs, URLs and Paths
| * Aligned indentation with rest of the codeSam Vervaeck2014-05-172-16/+15
| |
| * Added support for Java NIO PathsSam Vervaeck2014-05-171-0/+37
| |
| * Added support for URI parametersSam Vervaeck2014-05-171-0/+46
| |
| * Added support for URL parametersSam Vervaeck2014-05-171-0/+46
| |
* | fix for issue200 Incorrect usage() formatting with single long optionsManuel Boillod2014-11-161-1/+0
| |
* | Fix enumArgsFail.Cedric Beust2014-09-141-3/+8
| |
* | Fix --.Cedric Beust2014-09-141-1/+3
| |
* | propagate m_acceptUnknownOptions to addCommandchilinglam2014-09-121-0/+1
| |
* | Merge pull request #191 from jconwell/masterCedric Beust2014-08-042-7/+16
|\ \ | | | | | | Adding functionality that allows commands to be hidden from usage output
| * | Adding functionality that allows commands to be hidden from usage outputJohn Conwell2014-06-062-7/+16
| |/
* | add possibility to allow parameter overwriting (and even disallowing it for ↵helllth2014-07-224-1/+23
| | | | | | | | certain parameters)
* | add the possibility to have # comments in a @filehelllth2014-07-221-2/+4
|/
* Support for "--".Cedric Beust2014-04-071-1/+4
|
* Merge pull request #161 from jmassenet/issue_consoleCedric Beust2014-03-081-2/+1
|\ | | | | Do not close System.in when using DefaultConsole
| * Do not close System.in when using DefaultConsoleJulien Massenet2013-08-051-2/+1
| |
* | Fixes #184 Bug in enum parsingYannick Menager2014-02-271-3/+2
| |
* | Fixed problem whereby Parameters returning Lists and with alternate names ↵Andy Law2014-02-171-2/+2
|/ | | | were being reset on the first use of an alternate name. Added test to ensure correct behaviour.
* bugfix to address quoted main paramsMike Drob2013-06-071-1/+2
|
* New: @Parameters can now be used with cglib proxieskjpoalses2012-12-211-2/+4
|
* Fixed: GITHUB-137: Main parameters with a default value should be overridden ↵Cedric Beust2012-11-101-15/+6
| | | | if a main parameter is specified
* Fixed: GITHUB-107: Allow enum values without converting them to uppercase.Cedric Beust2012-11-101-1/+4
|
* Added enum support (Scott M. Stark).Cedric Beust2012-09-231-1/+5
|
* Renaming.Cedric Beust2012-09-181-1/+1
|
* Rename: noThrow -> acceptUnknownOption.Cedric Beust2012-09-181-4/+4
|
* Merge pull request #130 from styurin/masterCedric Beust2012-09-171-2/+2
|\ | | | | Fix usage to add missing new lines
| * Fix usage() to print missing new-line characters.Sergey Tyurin2012-09-181-2/+2
| | | | | | | | | | | | The change affects the result of usage() when: - there are commands and no main parameters - there are commands without parameters
* | Added JCommander#setNoThrow() and JCommander#getUnknownArgs().Cedric Beust2012-09-172-13/+38
|/
* Don't throw an exception if running in "no validation" mode.Cedric Beust2012-08-161-11/+14
|
* IParameterValidator2.Cedric Beust2012-08-073-3/+43
|
* Make getParameter() public.Cedric Beust2012-08-051-1/+1
|
* Don't wrap a ParameterException in a ParameterException.Cedric Beust2012-08-021-0/+2
|
* Refactoring: introducing FuzzyMap and IKey.Cedric Beust2012-08-013-65/+138
|
* Moved the finder tests in their own class.Cedric Beust2012-08-011-2/+1
|
* Added: JCommander#allowAbbreviatedOptions (default: false)Cedric Beust2012-08-011-4/+39
|
* Added: JCommander#setCaseSensitiveOptions (default: true)Cedric Beust2012-07-311-3/+48
|
* Description of commands is now displayed on the next line and indented.Cedric Beust2012-07-301-5/+5
| | | | Makes long descriptions easier to read.
* Removed the duplicate spaces() method.Cedric Beust2012-07-301-9/+3
|
* Fixed: Empty string defaults now displayed as "<empty string>" in the usageCedric Beust2012-07-251-2/+5
|
* Fixed: Bugs with the PositiveInteger validatorCedric Beust2012-07-171-0/+2
|
* Fixed: Parameters with a single double quote were not working properlyCedric Beust2012-07-171-1/+1
|
* Forgot Nullable.javaCedric Beust2012-07-081-0/+12
|
* Misc clean up.Cedric Beust2012-07-071-9/+14
|
* Added JCommander#setVerbose.Cedric Beust2012-07-071-1/+7
|
* If we have a setter but no getter, try to find a field to calculate the ↵Cedric Beust2012-07-071-1/+16
| | | | default value.
* Make getter methods optional.Cedric Beust2012-07-071-1/+1
|