Re: [Jargp-general] Is there anyone out there?
Brought to you by:
dsosnoski
|
From: Brian H. <bri...@ac...> - 2005-03-18 04:36:48
|
How do you want the patch? Should I just upload the modified files? >> 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. > > > Given that JArgP is in use 'in the wild,' I think that changing the > behavior would be a very bad thing. I'm not talking about changing the behavior I'm talking about fixing it. If I assign -t as a numeric option and I put "-t 2" on the command line I get an error. What I'm saying is that it should be fixed so I could do "-t2" and "-t 2". The fix would be relatively simple. Just check for and eat up the white space before parsing the number. Brian |