summaryrefslogtreecommitdiff
path: root/lib/optparse.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-04 09:37:38 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-04 09:37:38 +0000
commite6c1752137349537c72f4438d34c990b26d0c71d (patch)
treedcaf4183b65972648531083adbd167bfd1274d38 /lib/optparse.rb
parent106e48e5d86d20a4a288fd432d973ed69874b6d5 (diff)
* lib/rdoc.rb: massive spelling correction patch from Evan Farrar
<evanfarrar at gmail.com> in [ruby-doc:1382] applied. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/optparse.rb')
-rw-r--r--lib/optparse.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/optparse.rb b/lib/optparse.rb
index d33ad536e2..c6a54ef30a 100644
--- a/lib/optparse.rb
+++ b/lib/optparse.rb
@@ -826,7 +826,7 @@ class OptionParser
#
# Directs to reject specified class argument.
#
- # +t+:: Argument class speficier, any object including Class.
+ # +t+:: Argument class specifier, any object including Class.
#
# reject(t)
#
@@ -1037,13 +1037,13 @@ class OptionParser
# "-x[OPTIONAL]"
# "-x"
# There is also a special form which matches character range (not full
- # set of regural expression):
+ # set of regular expression):
# "-[a-z]MANDATORY"
# "-[a-z][OPTIONAL]"
# "-[a-z]"
#
# [Argument style and description:]
- # Instead of specifying mandatory or optional orguments directly in the
+ # Instead of specifying mandatory or optional arguments directly in the
# switch parameter, this separate parameter can be used.
# "=MANDATORY"
# "=[OPTIONAL]"