aboutsummaryrefslogtreecommitdiffstats
path: root/lib/getopts.rb
Commit message (Collapse)AuthorAgeFilesLines
* Mon Dec 24 17:20:34 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>nahi2007-12-241-127/+0
| | | | | | | | * lib/{mailread.rb,getopts.rb,parsearg.rb}: removed. see [ruby-core:12535], [ruby-dev:31969]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Documentation cleanup.drbrain2006-08-041-0/+1
| | | | | | | | | | Includes patches by Hugh Sasse: * ping.rb * weakref.rb * mailread.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_gsub): should have removed rb_str_unlocktmp(str).matz2004-11-041-1/+1
| | | | | | | | | | [ruby-dev:24708] * ext/socket/socket.c (s_recvfrom): buffer modification check. [ruby-dev:24708] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi-lib.rb, lib/getopts.rb, lib/importenv.rb, lib/parsearg.rb:nobu2004-02-251-1/+1
| | | | | | | | | | | warn with caller position. * test/rss/test_content.rb, test/rss/test_dublincore.rb, test/rss/test_syndication.rb, test/rss/test_trackback.rb: use cgi instead of cgi-lib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi-lib.rb: deprecated after 1.8.1gsinclair2004-02-181-0/+2
| | | | | | | | | * lib/getopts.rb: ditto * lib/importenv.rb: ditto * lib/parsearg.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/getopts.rb: Do not choke on characters that cannot be usedknu2002-11-031-2/+10
| | | | | | | | in a variable name. Replace them with `_'. Define a hash named $OPT for convenience. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/getopts.rb: single_options can be nil[*], and is not notknu2002-03-131-2/+2
| | | | | | | optional. ([*]Pointed out by gotoken) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/getopts.rb: Rewrite to fix some bugs and complete features.knu2002-03-041-75/+64
| | | | | | | | | | | | | - Accept options with the colon in the first argument; getopts("a:bcd:") is equivalent to getopts("bc", "a:", "d:"). - Do not discard the argument that caused an error. - Do not discard '-', which commonly stands for stdin. - Allow specifying a long option with a value using '='. (command --long-option=value) - Stop reading options when it meets a non-option argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot some checkins.matz2001-05-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-03-23matz2000-03-231-110/+96
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-02-23matz2000-02-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 1.4.0matz1999-08-131-9/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was generated by cvs2svn to compensate for changes in r372,matz1999-01-201-2/+1
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionv1_0_r2matz1998-01-161-0/+142
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2 b2dd03c8-39d4-4d8f-98ff-823fe69b080e