Re: [Jargp-general] Is there anyone out there?
Brought to you by:
dsosnoski
|
From: Brian H. <bri...@ac...> - 2005-03-17 23:50:28
|
From an email I posted a couple of months ago: I have a project where I can get several items on the command line after the flagged options. For example -v -t 1 -d on task1 task2 task3 What I wanted to do was have a list variable receive the values task1, task2 and task3. I was able to do this with very few changes to the system. I created a new class that extended StringListDef called NoFlagArgDef and the flag for it is ' '. (an empty space). Then when the ArgumentProcessor hits an option that has no flag it pretends it is the ' ' flag. It works really good. How do you want the changes I've made? For now I've just made the changes and build them locally but I would like to get it back into the project. Another one that bugs me that I would like to fix is the way it handles number options. The number must be right next to the flag "-t2" works but "-t 2" does not. Brian Matthew Weigel wrote: > Brian Hawkins wrote: > >> Is there anyone maintaining this project? I've got some improvements >> I'd like to see get in. > > > I'm here, and still putting some effort into the changes I last > discussed on this list. > > Apropos that (being able to use ArgumentProcessor to apply to more > than one object, each object having a different ParameterSet), I think > I hit upon a superior solution just last night. > > But I'll talk about that later... what improvements? |