Re: [cli] API change

2002-11-23 Thread John Keyes
Martin, I like the idea you have but as you say yourself there may be a more elegant solution. I think that this feature is independent of the API change I recommend as this method was should not have been exposed in the first place :-( Log the idea in Bugzilla, so we can keep track of it.

[cli] API change

2002-11-19 Thread John Keyes
Hi guys, The method signature for addValue is currently public, this method should only ever be called by the parser when it is creating the command line. This method currently returns a boolean when the add fails, this should be changed to throw exceptions when a problem occurs. What is the

Re: [cli] API change

2002-11-19 Thread Martin Redington
In my own CLI-like library, I've occasionally found it useful to be able to hack the command line slightly, before passing it to the interrogation phase. For example, where a parameter two's default value depends on parameter one's value, but I don't want to over-write the user's input if