From 90632decf63208ff1f8eab710c480d06798985cc Mon Sep 17 00:00:00 2001 From: knu Date: Wed, 13 Mar 2002 09:44:59 +0000 Subject: * lib/getopts.rb: single_options can be nil[*], and is not not optional. ([*]Pointed out by gotoken) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- doc/NEWS | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc') diff --git a/doc/NEWS b/doc/NEWS index b875e5b5f..bd3e7feb2 100644 --- a/doc/NEWS +++ b/doc/NEWS @@ -1,3 +1,14 @@ +: getopts.rb + + Rewrote to fix some bugs and complete features. + - 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 or stdout. + - Allow specifying a long option with a value using '='. + (command --long-option=value) + - Stop reading options when it meets a non-option argument. + : tsort module Imported. Topological sorting library. -- cgit