aboutsummaryrefslogtreecommitdiffstats
path: root/lib/optparse.rb
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-23 03:43:23 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-23 03:43:23 +0000
commit3a05da132184ee2a1ccac86b4b7fa865dc05c846 (patch)
tree3b2fee16a2d3ff4626cf53e6357c1c247b23c7da /lib/optparse.rb
parentadc0898538b5656a0aae9a4c604876e398db539c (diff)
downloadruby-3a05da132184ee2a1ccac86b4b7fa865dc05c846.tar.gz
[DOC] Fix typos
* benchmark.rb * getoptlong.rb * irb.rb * net/http.rb * net/http/header.rb * net/imap.rb * optparse.rb * pstore.rb * webrick.rb * xmlrpc.rb [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/optparse.rb')
-rw-r--r--lib/optparse.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/optparse.rb b/lib/optparse.rb
index 49f7ebee9d..b33d4cb395 100644
--- a/lib/optparse.rb
+++ b/lib/optparse.rb
@@ -120,7 +120,7 @@
# # -n, --name=NAME Name to say hello to
# # -h, --help Prints this help
#
-# === Required Arugments
+# === Required Arguments
#
# For options that require an argument, option specification strings may include an
# option name in all caps. If an option is used without the required argument,
@@ -175,7 +175,7 @@
# As an example, the built-in +Time+ conversion is used. The other built-in
# conversions behave in the same way.
# OptionParser will attempt to parse the argument
-# as a +Time+. If it succeeeds, that time will be passed to the
+# as a +Time+. If it succeeds, that time will be passed to the
# handler block. Otherwise, an exception will be raised.
#
# require 'optparse'