-
A feature request:
I'd like to be able to specify dependencies between arguments.
For instance,
1) Only one of the two arguments will be accepted
E.g., flags --client and --server should not allowed at the same time
The following should generate an error:
java myProgram --server --client
2) If one parameter is given, it must take another
E.q., The...
2009-01-26 14:34:12 UTC by toxic_
-
I realised I could submit this to the tracker .. So I'll simply copy this message to the tracker ;)
2009-01-26 14:33:41 UTC by toxic_
-
A feature request:
I'd like to be able to specify dependencies between arguments.
For instance,
1) Only one of the two arguments will be accepted
E.g., flags --client and --server should not allowed at the same time
The following should generate an error:
java myProgram --server --client
2) If one parameter is given, it must take another
E.q., The --server argument...
2009-01-26 14:30:28 UTC by toxic_
-
Hi all!
Maybe is a silly question, but anyway i will ask it.
I got an aplication that has some required parameters (flaggedOptions)(server, port, db, query) and some non_required ones such as (version, user, pass...).
And i got this problem:
If i call the application just only to see the version (application --version) and exception is raised because there are required parameters (server,
2008-04-02 10:35:17 UTC by destileria
-
This can be done by subclassing the string parser. However, the help wouldn't match. For this reason, the default usage name should be provided by the string parser and not the option.
2007-01-10 15:53:53 UTC by burschik
-
mlamb committed patchset 90 of module JSAP to the Java Simple Argument Parser CVS repository, changing 4 files.
2006-08-01 00:51:29 UTC by mlamb
-
mlamb committed patchset 89 of module JSAP to the Java Simple Argument Parser CVS repository, changing 1 files.
2006-03-20 02:57:26 UTC by mlamb
-
mlamb committed patchset 88 of module JSAP to the Java Simple Argument Parser CVS repository, changing 1 files.
2006-03-20 02:53:32 UTC by mlamb
-
mlamb committed patchset 87 of module JSAP to the Java Simple Argument Parser CVS repository, changing 1 files.
2006-03-20 02:47:57 UTC by mlamb
-
mlamb committed patchset 86 of module JSAP to the Java Simple Argument Parser CVS repository, changing 1 files.
2006-03-20 02:47:37 UTC by mlamb