Permalink
Switch branches/tags
Nothing to show
Commits on Nov 25, 2011
Commits on Nov 23, 2011
Commits on Oct 3, 2009
  1. bump version

    defunkt committed Oct 3, 2009
Commits on Aug 6, 2009
  1. Add Choice[:key] shortcut

    defunkt committed Aug 6, 2009
Commits on Aug 1, 2009
Commits on Feb 19, 2009
  1. Added args_of(opt) method so that you can access the arguments of an …

    gaustin committed Feb 19, 2009
    …option. Also added a test case for this method.
    
    The caveat still stands that we never know how many arguments are to be associated with a particular option. This means the args_of method returns all arguments from the final option to the end of the arguments array.
Commits on Jan 9, 2009
  1. Conversion of a validation statement into a regex or proc is now a fu…

    gaustin committed Jan 9, 2009
    …nction instead of the messy case that it was. Also updated the comments to reflect what the code truly does.
Commits on Dec 8, 2008
Commits on Nov 5, 2006
  1. bugfix

    defunkt committed Nov 5, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@59 2891bcfe-6912-0410-8cba-feaf504d3ce4
  2. changes

    defunkt committed Nov 5, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@57 2891bcfe-6912-0410-8cba-feaf504d3ce4
  3. Doc and version changes

    defunkt committed Nov 5, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@56 2891bcfe-6912-0410-8cba-feaf504d3ce4
  4. new shorthand format

    defunkt committed Nov 5, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@55 2891bcfe-6912-0410-8cba-feaf504d3ce4
  5. mostly style tweaks

    defunkt committed Nov 5, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@54 2891bcfe-6912-0410-8cba-feaf504d3ce4
Commits on Jul 31, 2006
  1. Made validate directive accept block and validate against its boolean…

    defunkt committed Jul 31, 2006
    … value.
    
    git-svn-id: http://choice.rubyforge.org/svn/trunk@53 2891bcfe-6912-0410-8cba-feaf504d3ce4
Commits on Jul 22, 2006
  1. ozmm => defunkt

    defunkt committed Jul 22, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@52 2891bcfe-6912-0410-8cba-feaf504d3ce4
  2. ozmm => defunkt

    defunkt committed Jul 22, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@51 2891bcfe-6912-0410-8cba-feaf504d3ce4
  3. Updated README

    defunkt committed Jul 22, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@49 2891bcfe-6912-0410-8cba-feaf504d3ce4
  4. Version 0.1.1.

    defunkt committed Jul 22, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@48 2891bcfe-6912-0410-8cba-feaf504d3ce4
  5. Updated README and CHANGELOG

    defunkt committed Jul 22, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@47 2891bcfe-6912-0410-8cba-feaf504d3ce4
  6. Touch up ftpd.rb example and add gamble.rb example.

    defunkt committed Jul 22, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@46 2891bcfe-6912-0410-8cba-feaf504d3ce4
  7. Added :required option which insists an option is present

    defunkt committed Jul 22, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@45 2891bcfe-6912-0410-8cba-feaf504d3ce4
  8. Added --long ARG format.

    defunkt committed Jul 22, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@44 2891bcfe-6912-0410-8cba-feaf504d3ce4
  9. Added list format to options as per bug tracker suggestion in the for…

    defunkt committed Jul 22, 2006
    …mat of --long=*LONG [Alexis Li]
    
    git-svn-id: http://choice.rubyforge.org/svn/trunk@43 2891bcfe-6912-0410-8cba-feaf504d3ce4
  10. Update test_choice to use the new [=ARG] format

    defunkt committed Jul 22, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@42 2891bcfe-6912-0410-8cba-feaf504d3ce4
  11. Change --long=[ARG] optional format to --long[=ARG] but keep around o…

    defunkt committed Jul 22, 2006
    …ld format just in case.
    
    git-svn-id: http://choice.rubyforge.org/svn/trunk@41 2891bcfe-6912-0410-8cba-feaf504d3ce4
  12. Added a 'valid' option as per bugtracker request for 'enum.'

    defunkt committed Jul 22, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@40 2891bcfe-6912-0410-8cba-feaf504d3ce4
  13. Turn off warnings

    defunkt committed Jul 22, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@39 2891bcfe-6912-0410-8cba-feaf504d3ce4
  14. Changed UnknownArgument to UnknownOption (more descriptive)

    defunkt committed Jul 22, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@38 2891bcfe-6912-0410-8cba-feaf504d3ce4
  15. Added 'defaultize' deprecation warning. Too much magic can be harmful.

    defunkt committed Jul 22, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@37 2891bcfe-6912-0410-8cba-feaf504d3ce4
  16. Make writer print methods public

    defunkt committed Jul 22, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@36 2891bcfe-6912-0410-8cba-feaf504d3ce4
  17. Fix so that long argument with equals sign in it will parse correctly…

    defunkt committed Jul 22, 2006
    … [Justin Bailey]
    
    git-svn-id: http://choice.rubyforge.org/svn/trunk@35 2891bcfe-6912-0410-8cba-feaf504d3ce4
  18. Little tweaks

    defunkt committed Jul 22, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@34 2891bcfe-6912-0410-8cba-feaf504d3ce4
Commits on May 1, 2006
  1. tweaks

    defunkt committed May 1, 2006
    git-svn-id: http://choice.rubyforge.org/svn/trunk@32 2891bcfe-6912-0410-8cba-feaf504d3ce4