diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-18 23:20:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-18 23:20:33 +0000 |
commit | 6c30c6be3a0fd842e7c2c0c1b8c89334b927851c (patch) | |
tree | 5a7efff74ded1778e728c9d1d410e148141cb9d6 /lib/getoptlong.rb | |
parent | 84aba62199d5cc0a5323d6356fc75e13aaa31e10 (diff) |
* dln.c, io.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/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/branches/ruby_1_8@6179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/getoptlong.rb')
-rw-r--r-- | lib/getoptlong.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/getoptlong.rb b/lib/getoptlong.rb index 7bb9baef2d..1a0d669fa3 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 |