buliugu / airhead-research

Automatically exported from code.google.com/p/airhead-research
0 stars 0 forks source link

ArgOptions should take in a default value for each option #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice if ArgOptions took in a default value for each option.

Original issue reported on code.google.com by David.Ju...@gmail.com on 11 May 2009 at 10:52

GoogleCodeExporter commented 9 years ago
I think an easier way to do this would be to have calls to ArgOption have an
overloaded version which takes a third argument which is the default value to 
return,
which is similar to how the Properties class works.

After sspace-fix is approved, i plan on adding this in

Original comment by FozzietheBeat@gmail.com on 29 Oct 2009 at 2:57

GoogleCodeExporter commented 9 years ago
The second option has been implemented for all data types.

Original comment by FozzietheBeat@gmail.com on 3 Aug 2010 at 4:53