Commit graph

4 commits

Author SHA1 Message Date
taca
ddae5cb088 Update ruby-optparse package to 0.12.
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.
2003-08-30 07:42:58 +00:00
taca
c18061e89f Update ruby-optparse package to 0.8.6. Changes from 0.8.3 are below.
Wed Dec 12 00:14:12 2001  Nobuyoshi Nakada  <nobu.nakada@nifty.ne.jp>

	* optparse.rb (OptionParser::switch): fix for String#select.

Thu Aug 23 20:11:52 2001  Nobuyoshi Nakada  <nobu.nakada@nifty.ne.jp>

	* optparse.rb (Revision): changed versioning method.

Thu Aug 23 19:46:27 2001  Nobuyoshi Nakada  <nobu.nakada@nifty.ne.jp>

	* optparse.rb (OptionParser::Switch::summarize): returns self.

	* optparse.rb (OptionParser::order): now (({while})) returns
	  value.
2001-12-30 17:09:14 +00:00
taca
8672599263 Update ruby-optparse to 0.8.3.
- Changes from 0.8.2 seems to several bug fixes.
- Move some exmaple files from ${RUBY_SITELIBDIR}/optparse to
  ${RUBY_EXAMPLESDIR}/optparse.
- Elminate USE_GMAKE since there is no need to use make.
2001-07-11 16:25:41 +00:00
taca
89466a9a26 Importing ruby-optparse.
Yet another command line option parser for Ruby.
2001-06-30 23:25:16 +00:00