|
Fri Jan 31 02:44:08 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* optparse.rb (OptionParser::define): renamed from new.
Fri Jan 31 01:55:02 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* optparse.rb (OptionParser::List::accept): default pattern must
not be nil.
* optparse.rb (OptionParser::new_tail): arguments forgotten.
* optparse.rb (OptionParser::inc, OptionParser::terminate): use
Kernel#class instead of deprecated Kernel#type.
* optparse.rb (OptionParser::ParseError::inspect): ditto.
* optparse.rb (OptionParser::ParseError::reason): ditto.
Thu Jan 30 16:46:43 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* optparse.rb (OptionParser::Switch::PlacedArgument): added. if
the next argument doesn't start with '-', use it as the value.
* optparse.rb (OptionParser::make_switch): fixed a bug of pattern.
* optparse.rb (Array): no need to guard.
* test_optparse.rb: added.
Sun Dec 1 23:04:03 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* optparse.rb (OptionParser::new): same as OptionParser#on but
returns new OptionParser::switch.
Thu Aug 8 09:40:05 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* optparse.rb (NilClass): must provide conversion block.
* optparse.rb (String): ditto.
Wed Aug 7 21:22:41 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* optparse.rb (OptionParser::Completion::convert): returned all
values not first one.
* optparse.rb (OptionParser::Switch::parse): return values as is.
* optparse.rb (OptionParser::order): ditto.
* optparse/time.rb: prior time.rb.
* optparse/uri.rb: ditto.
Sat Mar 23 16:33:54 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* optparse.rb (OptionParser::switch): fixed `no' prefixed option.
Sat Mar 23 05:50:28 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* opttest.rb: use instance variables.
* opttest.rb: add Time example.
Mon Mar 18 03:24:02 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* install.rb: changed manual suffix to 3r.
* install.rb: default docdir with Revision.
Sun Mar 17 19:29:41 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* install.rb: added options, --man-install, --doc-install,
--compression, --prefix, --list-only.
* optparse.rb (OptionParser::Switch::-@): removed.
* optparse.rb (OptionParser::List::update): added negated switch
argument.
* optparse.rb (OptionParser::banner): no newline at end of default
banner, for easy concatination.
* optparse.rb (OptionParser::to_str): append a newline unless
teminated by it.
* optparse.rb (OptionParser::switch): make negated switch here as
NoArgument.
* optparse.rb (OptionParser::order): not use $1, $2 and so on,
thread unsafe special variables as possible.
* optparse.rb (Acceptable argument class): no argument for
(({Object})) came true, previous behavior is for (({NilClass}))
now.
* optparse.spec: many changes.
|