1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,

lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb,
  lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb,
  lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb,
  lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb,
  lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb,
  lib/rinda/tuplespace.rb, lib/shell/command-processor.rb,
  lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb,
  lib/test/unit/testsuite.rb: typo fix.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2004-04-18 23:19:47 +00:00
parent e5eb459089
commit 92f0be2037
31 changed files with 79 additions and 67 deletions

View file

@ -54,14 +54,14 @@ class GetoptLong
#
# Hash table of option names.
# Keyes of the table are option names, and their values are canonical
# Keys of the table are option names, and their values are canonical
# names of the options.
#
@canonical_names = Hash.new
#
# Hash table of argument flags.
# Keyes of the table are option names, and their values are argument
# Keys of the table are option names, and their values are argument
# flags of the options.
#
@argument_flags = Hash.new
@ -87,7 +87,7 @@ class GetoptLong
@error_message = nil
#
# Rest of catinated short options.
# Rest of catenated short options.
#
@rest_singles = ''
@ -223,7 +223,7 @@ class GetoptLong
alias quiet? quiet
#
# Termintate option processing.
# Terminate option processing.
#
def terminate
return nil if @status == STATUS_TERMINATED
@ -243,7 +243,7 @@ class GetoptLong
end
#
# Examine whether option processing is termintated or not.
# Examine whether option processing is terminated or not.
#
def terminated?
return @status == STATUS_TERMINATED
@ -393,7 +393,7 @@ class GetoptLong
elsif argument =~ /^(-(.))(.*)/
#
# This is a short style option, which start with `-' (not `--').
# Short options may be catinated (e.g. `-l -g' is equivalent to
# Short options may be catenated (e.g. `-l -g' is equivalent to
# `-lg').
#
option_name, ch, @rest_singles = $1, $2, $3