aboutsummaryrefslogtreecommitdiffstats
path: root/lib/getoptlong.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-18 23:19:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-18 23:19:47 +0000
commit92f0be2037b5f51861e8b7fdf763a343bb564c10 (patch)
treed02d61890bba782751e4852a56fc43577201742d /lib/getoptlong.rb
parente5eb4590894ced3bb4c676538e1b52af9c0daf11 (diff)
downloadruby-92f0be2037b5f51861e8b7fdf763a343bb564c10.tar.gz
* 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
Diffstat (limited to 'lib/getoptlong.rb')
-rw-r--r--lib/getoptlong.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/getoptlong.rb b/lib/getoptlong.rb
index 979554ad34..59a5104fc7 100644
--- a/lib/getoptlong.rb
+++ b/lib/getoptlong.rb
@@ -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